Prerequisites
- Node.js 18 or higher
- npm, pnpm, or yarn package manager
Create your first bot
Create a new project
Use the BuilderBot CLI to scaffold a new project:You’ll be prompted to choose:
- Project name: Your bot’s directory name
- Provider: Messaging platform (start with Baileys for WhatsApp)
- Database: Storage option (start with Memory for testing)
- Language: TypeScript or JavaScript
Start your bot
For WhatsApp providers like Baileys, scan the QR code that appears in your terminal with WhatsApp.
Understanding the basic structure
Your generated bot includes a simple conversation flow. Here’s what the code looks like:Next steps
Learn core concepts
Understand flows, keywords, and conversation patterns
Explore providers
Connect to WhatsApp, Telegram, email, and more
Add a database
Persist conversations with MongoDB, PostgreSQL, or MySQL
Build advanced flows
Create complex multi-step conversations
Common patterns
Capture user input
Send media
Create custom HTTP endpoints
Need help?
- Join our Discord community
- Check the FAQ
- View example projects