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

> Initialize a new Botpress project

Create a new bot, integration, plugin, or interface project.

## Usage

```bash theme={null}
bp init [options]
```

## Options

### --type

Project type to initialize:

```bash theme={null}
bp init --type bot
bp init --type integration
bp init --type plugin
bp init --type interface
```

### --name

Project name:

```bash theme={null}
bp init --type bot --name my-bot
bp init --type integration --name acme/slack
```

<Info>
  Integrations and plugins require workspace handle: `workspace/name`
</Info>

### --workDir

Working directory (default: current directory):

```bash theme={null}
bp init --workDir ./projects
```

### --template

Template to use:

```bash theme={null}
bp init --type bot --template hello-world
```

## Interactive mode

Run without options for interactive prompts:

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

The CLI will prompt for:

1. Project type
2. Project name
3. Workspace (for integrations/plugins)
4. Template (if multiple available)

## Examples

### Initialize bot

```bash theme={null}
bp init --type bot --name customer-support
```

### Initialize integration

```bash theme={null}
bp init --type integration --name acme/custom-crm
```

### Initialize plugin

```bash theme={null}
bp init --type plugin --name acme/analytics
```

## After initialization

Navigate to project and install dependencies:

```bash theme={null}
cd my-project
npm install
```

Build and run:

```bash theme={null}
bp build
bp dev
```
