# How to connect an AI bot to Telegram

Create a bot in @BotFather, paste its token into the dashboard, and customers can write to your AI assistant in Telegram. Step-by-step instructions.

Updated: November 5, 2026 · https://onswer.ai/docs/en/channels/telegram-bot · Onswer

In Telegram the bot lives as an ordinary company bot: a customer finds it by name, presses "Start" and writes.

## How to connect

1. In Telegram open @BotFather and send the command `/newbot`.
2. Pick a name for the bot and its address (it must end in `bot`).
3. BotFather sends a token: a long string of digits and letters. Copy it.
4. In the dashboard open "Connection" → the Telegram card, paste the token into the "Bot token" field and press "Connect bot".
5. Open your bot in Telegram and write to it. It should answer.

> **Careful:** The token is the key to the bot. Do not publish it or send it to strangers. Onswer stores the token encrypted. If the token got into the wrong hands, issue a new one in @BotFather and connect again.

## How to disconnect

In the Telegram card press "Disconnect bot". The bot itself stays in Telegram but stops answering.

## Do not confuse with reports

The Telegram bot for customers and the reports for you as the owner are different things. Reports about new customers come from a separate bot and are connected separately: [Telegram reports](/docs/en/sales/telegram-reports).

## If it does not connect

- Check that you copied the whole token, without spaces.
- The token must come from @BotFather, not from another service.
- If the error stays, issue a new token with `/revoke` in @BotFather and paste it.
