# Telegram bot

> Message your agents from Telegram and get their answers — and a ping when they finish.

Source: https://docs.neurosquad.ai/en/integrations/telegram

The **Telegram card** connects your own Telegram bot to your agents. Write to the bot from your
phone, and the message reaches the agents connected to the card by an [arrow](https://docs.neurosquad.ai/en/canvas/arrows). They
can answer you back in the same chat.

It runs from your computer — no server to set up.

## Set it up

**1. Create a bot**

In Telegram, open **@BotFather** (the card has a button for it), send `/newbot` and pick a name.
BotFather replies with a token.

**2. Paste the token**

Add a Telegram card, paste the token and press **Connect**.

**3. Write to your bot, then press Allow**

Send `/start` to your bot. The card shows the chat under "Wants to talk to your agents" — press
**Allow**.

> Only chats you **Allow** ever reach your agents. Anyone else who finds your bot is ignored.

## Get told in Telegram

**Tell me in Telegram when a connected agent finishes or needs input** sends a message to every
allowed chat — so you can leave your desk and still know when to come back.

You can also type messages as the bot right in the card, and choose which connected agent receives
them.
