Skip to main content

What is the Router SDK?

The Router SDK lets you deploy BoostGPT bots across multiple messaging platforms with a single codebase. It uses the Core SDK internally and provides platform adapters.

Installation

Quick Start

Supported Platforms

Discord

Discord bot integration

Telegram

Telegram bot integration

Slack

Slack app integration

WhatsApp

WhatsApp Business API

Crisp

Crisp chat widget

Custom

Build your own adapter

How It Works

  1. Router receives message from any platform
  2. Your handler runs - Return string for custom response or null for AI
  3. Router uses AI - If you return null, router calls BoostGPT
  4. Response sent back to the platform

Key Features

  • Multi-platform - One codebase for all platforms
  • Command handling - Intercept specific commands
  • Uses Core SDK - All bot features available
  • Type-safe - Full TypeScript support

Message Handler

Multi-Platform Example

Deploy to Discord and Telegram simultaneously:

Access Core SDK

Access the Core SDK directly when needed:

Next Steps

Installation

Install and configure Router SDK

Message Handling

Handle messages and commands