> ## 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.

# Package management

> Add and remove integrations and interfaces

Install and remove packages (integrations and interfaces) from your project.

## Add packages

Install an integration or interface:

```bash theme={null}
bp add <package>
```

Aliases: `bp i`, `bp install`

### Package reference

Specify package name with optional version:

```bash theme={null}
bp add teams
bp add teams@0.2.0
bp add llm@5.1.0
```

<Info>
  Package reference format: `name` or `name@version`
</Info>

## Options

### --installPath

Custom installation path:

```bash theme={null}
bp add teams --installPath ./custom-integrations
```

Default: `./integrations`

### --useDev

Use development version if available:

```bash theme={null}
bp add teams --useDev
```

### --alias

Install with custom alias:

```bash theme={null}
bp add teams --alias microsoft-teams
```

Useful when installing multiple versions or forks of same package.

### Credentials

Authentication options:

```bash theme={null}
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:

```bash theme={null}
bp remove <alias>
```

Alias: `bp rm`

### Usage

```bash theme={null}
bp remove teams
bp rm microsoft-teams
```

The alias parameter refers to the package alias in your project.

## Examples

### Install integration

```bash theme={null}
bp add teams
```

### Install specific version

```bash theme={null}
bp add teams@0.2.0
```

### Install with alias

```bash theme={null}
bp add teams@0.2.0 --alias teams-legacy
bp add teams@0.3.0 --alias teams-latest
```

### Remove package

```bash theme={null}
bp remove teams
```

### Use development version

```bash theme={null}
bp add teams --useDev
```

## Package discovery

Browse available integrations:

```bash theme={null}
bp integrations list
```

Browse available interfaces:

```bash theme={null}
bp interfaces list
```

## After installation

Packages are added to your project configuration:

```json theme={null}
{
  "integrations": {
    "teams": {
      "version": "0.2.0"
    }
  }
}
```

Generate typings for installed packages:

```bash theme={null}
bp generate
```
