Create a Telegram bot
Your agent talks to you through a Telegram bot of your own.
Read as MarkdownYour 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
- Open Telegram and start a chat with @BotFather (opens in a new window). Check the blue verified mark next to its name.
- Send
/newbot. - Send the name people will see, for example Ada. It can be anything.
- Send a username for the bot. It must end in
botorBot, for exampleada_assistant_botorAdaAssistantBot, and nobody else may have it already. - 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 presscto reconnect with the new token. To use a different bot, disconnect the existing integration first, then connect the new bot.