Skip to main content
Authenticate with Botpress Cloud to deploy projects and manage resources.

Login

Authenticate with Botpress Cloud:

Interactive login

Running bp login without options opens your browser to authenticate.

Options

—token

Provide Personal Access Token directly:

—workspaceId

Specify workspace ID:

—apiUrl

Use custom API endpoint:
Default: https://api.botpress.cloud

CI/CD authentication

For automated environments:

Logout

Clear stored credentials:
This removes:
  • Personal Access Token
  • Workspace ID
  • API URL configuration

Credential storage

Credentials are stored in:
Keep your Personal Access Token secure. Never commit it to version control.

Examples

Interactive login

Opens browser for authentication.

Login with token

Login for specific workspace

Logout

CI/CD example

Multiple workspaces

Use profiles to manage multiple workspaces:

Verify authentication

Check active profile:
Output:

Troubleshooting

Invalid token

Ensure your PAT is valid and not expired:
  1. Visit app.botpress.cloud/profile/tokens
  2. Generate new token if needed
  3. Login with new token

Wrong workspace

Verify workspace ID:
Switch workspace:

Permission denied

Ensure your token has required permissions for the operation you’re attempting.