Skip to main content

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

Get Discord token:
  1. Go to Discord Developer Portal
  2. Create Application -> Bot -> Copy Token

Telegram

Get Telegram token:
  1. Message @BotFather
  2. Create bot -> Copy token

Slack

Get Slack credentials:
  1. Go to Slack API
  2. Create App -> Install to Workspace
  3. Copy Bot Token and Signing Secret

WhatsApp

4. Message Handling

Basic Handling

Custom Commands

Platform-Specific Logic

5. Context Handling

Running the Bot

Environment Variables

Create .env file:

Start the Bot

Output:

Advanced Features

Rate Limiting

User Sessions

Analytics

Deployment

Docker

Vercel

Railway

Troubleshooting

Verify tokens are correct and bot has necessary permissions on each platform.
Check that you’re returning null from message handler to let AI respond.
Consider adding caching or increasing bot’s max reply tokens limit.

Next Steps

Custom Adapter

Build custom platform adapter

With Integrations

Add tools and integrations

Router SDK

Full Router SDK docs

Deployment

Production deployment guide