> For the complete documentation index, see [llms.txt](https://archai.gitbook.io/archai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://archai.gitbook.io/archai/create-your-own-ai/telegram-integration.md).

# Telegram integration

#### Step 1. Create a bot in Telegram

Go to [@Botfather](https://t.me/BotFather) in telegram and click the “Start” button or type `/start` in the chat.

Type `/newbot` to start the bot creation process and let BotFather guide you step-by-step:

* Provide a name for your bot. This is how users will see it.
* Provide a unique username for your bot. It must end with “bot” (e.g., arch\_ai\_bot)
* Once everything is set up, BotFather will generate an API token for your bot. This token is essential for connecting your bot to the Telegram API.

<figure><img src="/files/lVsyXmb8Qkc1bL8mad0L" alt="" width="563"><figcaption></figcaption></figure>

#### Step 2. Submit token

When you have the bot token, navigate to Telegram bot in Intregrations tab.

<figure><img src="/files/ao9Bf4mfh2Llp3BDMOR0" alt="" width="563"><figcaption></figcaption></figure>

Submit the bot token in the field, and you'll see the integration as active.

<div><figure><img src="/files/SRAsOGx0LWZaF5JJBbmG" alt=""><figcaption></figcaption></figure> <figure><img src="/files/AGxpociy2icRczPbQ7Ri" alt=""><figcaption></figcaption></figure></div>

#### Step 3. Give it a ride

Now you can continue the chat with the bot in Telegram privately, or add it to groups. Yes, it's that simple!&#x20;

<figure><img src="/files/IVibowRechRbFoCKgBJi" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
Telegram has a tech limitation, which prevents bots from seeing other bots' messages. Thus, you cannot make two agents talk to each other in the telegram chat. Use thearch.ai for it 😉
{% endhint %}
