Prerequisites
Node.js
Version 14.0.0 or higher
BoostGPT Account
Sign up at app.boostgpt.co
Step 1: Create a Project
1
Sign up
Go to app.boostgpt.co and create an account.
2
Create a project
Create your first project and copy the Project ID from settings.
3
Generate API key
Go to API Keys and generate a new key.
Step 2: Install the SDK
- npm
- yarn
- pnpm
Step 3: Create Your First Bot
Create a.env file:
.env
create-bot.js:
create-bot.js
Save the Bot ID from the output - you’ll need it for the next step.
Step 4: Deploy to Discord (Optional)
If you want to deploy your bot to Discord:1
Create Discord application
Go to Discord Developer Portal and create a new application.
2
Create bot user
Go to the Bot section and create a bot user. Copy the bot token.
3
Enable intents
Enable MESSAGE CONTENT INTENT in the Bot settings.
4
Invite bot to server
Go to OAuth2 → URL Generator, select
bot scope and Send Messages, Read Message History permissions. Use the generated URL to invite the bot..env:
.env
Step 5: Run Your Multi-Channel Bot
Createbot.js:
bot.js
Your bot is now live on Discord! Message it or mention it in a channel.
What’s Next?
Add More Channels
Deploy to Telegram, Slack, WhatsApp, or Crisp
Train Your Bot
Add custom knowledge to your bot
Custom Message Logic
Build advanced message handlers
Deploy to Production
Deploy with PM2, Docker, or Railway
Common Issues
Bot not responding on Discord
Bot not responding on Discord
Make sure you’ve enabled MESSAGE CONTENT INTENT in the Discord Developer Portal under Bot settings.
Authentication error
Authentication error
Verify your API key and Project ID are correct. You can find them at app.boostgpt.co/settings.
Module not found
Module not found
Make sure you’ve installed all dependencies:
Need help? Join our Discord community for support.