> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ascn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Telegram

> Connect the agent to Telegram: DM, group, channel or your personal account.

Telegram is the most convenient way to interact with the agent outside of the browser: get notifications, ask questions, give commands right from the messenger.

## DM with a bot

### Step 1. Create a bot via BotFather

Open [@BotFather](https://t.me/BotFather) in Telegram and create a new bot. ASCN shows step-by-step guidance in the UI.

<img src="https://mintcdn.com/ascn-b377dab5/gJOzWPSTEzSbhz3B/images/en/10-botfather.png?fit=max&auto=format&n=gJOzWPSTEzSbhz3B&q=85&s=b99dd5ca0a2bae545be6550a8a772dbe" alt="BotFather dialog — /newbot, name, username, token" width="1434" height="1415" data-path="images/en/10-botfather.png" />

### Step 2. Follow the ASCN wizard

Open **Channels → Telegram**. ASCN launches a connection wizard:

1. Open BotFather in Telegram
2. Send `/newbot`
3. Pick a display name
4. Pick a username (must end with `_bot`)
5. Copy the token — BotFather will send it in chat

<img src="https://mintcdn.com/ascn-b377dab5/gJOzWPSTEzSbhz3B/images/en/11-1-telegram-wizard.png?fit=max&auto=format&n=gJOzWPSTEzSbhz3B&q=85&s=2912b030e87d119889608fa75ed34f44" alt="Telegram connection wizard in ASCN" width="2414" height="1129" data-path="images/en/11-1-telegram-wizard.png" />

### Step 3. Paste the token

Click **I have a token →**, paste the token. You can paste the entire BotFather message — ASCN extracts the token automatically.

Click **Connect bot**.

<img src="https://mintcdn.com/ascn-b377dab5/gJOzWPSTEzSbhz3B/images/en/11-2-telegram-token.png?fit=max&auto=format&n=gJOzWPSTEzSbhz3B&q=85&s=674422f321f074cedee50833e6192308" alt="Token input and «Connect bot» button" width="2425" height="1056" data-path="images/en/11-2-telegram-token.png" />

### Step 4. Verify ownership

After connecting, ASCN asks to verify the bot:

1. Click **Open bot in Telegram**
2. Click **Start** in the dialog — it links your account with the agent

<img src="https://mintcdn.com/ascn-b377dab5/gJOzWPSTEzSbhz3B/images/en/11-3-telegram-verify.png?fit=max&auto=format&n=gJOzWPSTEzSbhz3B&q=85&s=a69bd6bdc94d1e8a7de32a0a306001b6" alt="Verify: open bot and click Start" width="1497" height="954" data-path="images/en/11-3-telegram-verify.png" />

### Done

After clicking Start the bot greets you and offers to connect integrations right in Telegram.

<img src="https://mintcdn.com/ascn-b377dab5/gJOzWPSTEzSbhz3B/images/en/11-4-telegram-bot.png?fit=max&auto=format&n=gJOzWPSTEzSbhz3B&q=85&s=c96dbf2a71fd4983ff14b40e8cc5589d" alt="Bot in Telegram after /start" width="1311" height="1294" data-path="images/en/11-4-telegram-bot.png" />

## Group or channel

You can add the agent to a Telegram group or channel — for team work or publishing notifications. Add the bot as administrator, get the chat ID (e.g. via [@RawDataBot](https://t.me/RawDataBot)) and enter it in ASCN.

## Personal account

The agent can also work via your personal Telegram account — not as a bot, but as you.

<Warning>
  When connecting a personal account the agent gets access to your chats and can send messages on your behalf via commands or triggers. The agent does NOT auto-reply without an explicit command or configured trigger.
</Warning>

## What you can do via Telegram

* Ask questions and get answers
* Give commands: «send an email», «book a meeting», «what do I have today?»
* Get notifications from triggers and scheduled tasks
* Upload files and images right in chat
