# Scaffold your chat apps with create\-chat\-sdk

**Published:** June 23, 2026 | **Authors:** Ben Sabic

---

Creating a new [Chat SDK](https://chat-sdk.dev/) bot now takes a single command.

`create-chat-sdk` scaffolds a complete [Next.js](https://nextjs.org/) project with your chosen platform adapters, a state adapter, environment variables, and a webhook route.

[Video: create-chat-sdk Terminal Video](//videos.ctfassets.net/e5382hct74si/AOzfevcSLzRioHSZtl9xB/9146e84d33916bf7edf945dc131df9a0/create-chat-sdk.mp4)

```bash
npm create chat-sdk@latest vercel-bot
```

The CLI walks you through selecting your [platform adapters](https://chat-sdk.dev/adapters#:~:text=Search%20adapters...-,Official,-Published%20under%20%40chat) (e.g., Slack and Discord) and a [state adapter](https://chat-sdk.dev/adapters#:~:text=your%20own%20adapter-,State%20Adapters,-Pluggable%20state%20adapters) (e.g., Redis), then installs the dependencies for you.

- **Everything wired up: **`src/lib/bot.ts` with `onNewMention` and `onSubscribedMessage` handlers, a populated `.env.example`, and a pre-configured `next.config.ts`.
- **Pick your stack: **combine any of the official or vendor-official platform and state adapters into a single project. The CLI installs only what you select.
- **Fully scriptable: **every prompt can be skipped with flags, so `create-chat-sdk` works with your AI agents and in CI. Coding agents are automatically detected, so the CLI runs non-interactively when they scaffold your application.

For example, scaffold a Slack and Discord bot with Redis in one command:

```bash
npm create chat-sdk@latest -- vercel-bot -d 'My Vercel bot' --adapter slack discord redis -yq
```

Read the [documentation](https://chat-sdk.dev/docs/create-chat-sdk) to get started.

**The Complete Guide to Chat SDK**
Learn how Chat SDK works end-to-end: from core concepts to building your first chatbot to deploying it across platforms.
[Read the guide](https://vercel.com/kb/guide/the-complete-guide-to-chat-sdk)

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)