The Botpress CLI (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/botpress/botpress/llms.txt
Use this file to discover all available pages before exploring further.
bp) is your primary tool for building, testing, and deploying bots, integrations, and plugins.
Installation
Install the CLI globally:Available commands
Project management
bp init- Initialize a new projectbp build- Build projectbp bundle- Bundle codebp generate- Generate types
Development
bp dev- Run in development modebp serve- Serve project locally
Deployment
bp deploy- Deploy to cloudbp login- Login to Botpressbp logout- Logout from Botpress
Resource management
bp bots- Manage botsbp integrations- Manage integrationsbp interfaces- Manage interfacesbp plugins- Manage plugins
Utilities
bp add- Add dependenciesbp remove- Remove dependenciesbp read- Read integration definitionbp lint- Lint project
Getting help
Get help for any command:Authentication
Login to Botpress Cloud:Project types
The CLI supports four project types:- Bot - Conversational AI applications
- Integration - Connect to external platforms
- Plugin - Reusable bot functionality
- Interface - Define contracts between integrations
Common workflows
Create and deploy bot
Create and deploy integration
Development workflow
Global options
The following options are available for all CLI commands:Authentication options
Personal Access Token for authentication. Can also be set via
BP_TOKEN environment variable.Workspace ID to use for the command. Can also be set via
BP_WORKSPACE_ID environment variable.API URL for Botpress Cloud. Defaults to
https://api.botpress.cloud.Output options
Enable verbose logging for debugging.
Output results in JSON format (where applicable).
Skip confirmation prompts and accept defaults.
Environment variables can be used as an alternative to command-line flags. This is especially useful for CI/CD environments.