Skip to main content
Connect a Telegram bot so you can chat with your AI assistant from the Telegram app.

Prerequisites

  • A Telegram account
  • Your OpenClaw gateway must be running

Steps

1

Create a Telegram Bot

Open Telegram and message @BotFather. Send /newbot and follow the prompts to create a bot. Copy the bot token.
2

Open Control UI

Click “Open your OpenClaw” from the Dashboard to access your Control UI.
3

Configure Telegram

Go to Channels tab in the Control UI. Find the Telegram section and paste your bot token.
4

Set DM Policy

Choose who can message your bot:
  • Pairing — requires device pairing approval
  • Allowlist — only approved users
  • Open — anyone can message
5

Test

Open Telegram and send a message to your bot. Your AI should respond.
For the most secure setup, use Pairing mode. New users will need to be approved before they can chat with your bot.
See OpenClaw docs: Telegram for advanced configuration.