Install and remove packages (integrations and interfaces) from your project.
Add packages
Install an integration or interface:
Aliases: bp i, bp install
Package reference
Specify package name with optional version:
bp add teams
bp add teams@0.2.0
bp add llm@5.1.0
Package reference format: name or name@version
Options
—installPath
Custom installation path:
bp add teams --installPath ./custom-integrations
Default: ./integrations
—useDev
Use development version if available:
—alias
Install with custom alias:
bp add teams --alias microsoft-teams
Useful when installing multiple versions or forks of same package.
Credentials
Authentication options:
bp add teams --token YOUR_TOKEN
bp add teams --workspaceId abc123
bp add teams --apiUrl https://api.botpress.cloud
Remove packages
Remove a package from your project:
Alias: bp rm
Usage
bp remove teams
bp rm microsoft-teams
The alias parameter refers to the package alias in your project.
Examples
Install integration
Install specific version
Install with alias
bp add teams@0.2.0 --alias teams-legacy
bp add teams@0.3.0 --alias teams-latest
Remove package
Use development version
Package discovery
Browse available integrations:
Browse available interfaces:
After installation
Packages are added to your project configuration:
{
"integrations": {
"teams": {
"version": "0.2.0"
}
}
}
Generate typings for installed packages: