Create a Telegram bot

Your agent talks to you through a Telegram bot of your own.

Read as Markdown

Your agent needs a Telegram bot: the account it answers from. You create it with @BotFather, Telegram's own bot for making bots, and the installer asks for its token.

Create the bot

  1. Open Telegram and start a chat with @BotFather (opens in a new window). Check the blue verified mark next to its name.
  2. Send /newbot.
  3. Send the name people will see, for example Ada. It can be anything.
  4. Send a username for the bot. It must end in bot or Bot, for example ada_assistant_bot or AdaAssistantBot, and nobody else may have it already.
  5. BotFather answers with a token, a long line like 7712345678:AAH…. Copy it.

That token is what the installer asks for. Treat it like a password: whoever has it can speak as your bot.

Later

  • One bot per agent. The bot belongs to its agent scope. A second agent needs a second bot.
  • In a group, the bot needs to be an administrator. See Spaces and teams.
  • A lost or leaked token can be revoked in @BotFather with /revoke. In the admin app, select Telegram under Integrations and press c to reconnect with the new token. To use a different bot, disconnect the existing integration first, then connect the new bot.