Overview
Use the BoostGPT Router SDK to deploy your bot across multiple platforms simultaneously.Prerequisites
Complete Example
Step-by-Step Setup
1. Create Your Bot
2. Set Up Router
3. Add Platform Adapters
Discord
- Go to Discord Developer Portal
- Create Application -> Bot -> Copy Token
Telegram
- Message @BotFather
- Create bot -> Copy token
Slack
- Go to Slack API
- Create App -> Install to Workspace
- Copy Bot Token and Signing Secret
4. Message Handling
Basic Handling
Custom Commands
Platform-Specific Logic
5. Context Handling
Running the Bot
Environment Variables
Create.env file:
Start the Bot
Advanced Features
Rate Limiting
User Sessions
Analytics
Deployment
Docker
Vercel
Railway
Troubleshooting
Platform not connecting
Platform not connecting
Verify tokens are correct and bot has necessary permissions on each platform.
Messages not responding
Messages not responding
Check that you’re returning
null from message handler to let AI respond.Slow responses
Slow responses
Consider adding caching or increasing bot’s max reply tokens limit.