Setup guide
Telegram: bot token & user ID
Two short tasks. Five minutes total. The first gives you a token so your agent can send messages; the second gives you a user ID so the agent knows who's allowed to talk to it.
Opens your browser's print dialog — pick Save as PDF as the destination.
Telegram: bot token & user ID
Setup guide for connecting your Telegram account to an agent.
Part A — Get a bot token from @BotFather
BotFather is Telegram's official bot for creating other bots. It's verified — look for the blue check.
Open Telegram and search @BotFather
In the search bar at the top of the Telegram app, type @BotFather. Tap the result with the blue verified checkmark — that's the only official one. Open the chat.
Tap the Open button at the bottom-left
Once you're in the BotFather chat, look at the bottom-left corner of the screen — there's a blue pill labelled Open with a small square icon. Tap it. This launches the BotFather mini-app inside Telegram (the modern way to manage bots; you no longer need to type slash commands).
Tap + Create a New Bot
The mini-app opens to your existing bots list. At the top of that list is a + Create a New Bot row — tap it. The app will then prompt you for two things:
- A display name — anything readable, e.g. "Mark's Assistant".
- A username — must end in
bot, e.g.marks_assistant_bot. Must be globally unique on Telegram. If it's taken, pick another.
Tap Copy to grab the token
Once the bot is created, the mini-app drops you on the bot's profile page. The token is shown as a masked row of dots (Telegram hides it for privacy). Tap the big blue Copy button just below — the full token (something like 7891234567:AAH-Z_xx12...) is copied to your clipboard.
TELEGRAM_BOT_TOKEN field on your settings page and don't share it anywhere else. If it ever leaks, hit Revoke on this same screen and you'll get a fresh one.Start a chat with your new bot
This step is essential — your bot can't message you until you message it first.
- Click on your bot's name below the profile picture. It will pull up options for messaging your bot.
- Select message on the left.
/startshould already show in the chat window. Send it once.
That's it for Part A. The bot is now saved in your Telegram chat list, and your agent can DM you.
Part B — Get your user ID from @userinfobot
Your Telegram user ID is a number. The official @userinfobot will tell it to you in one tap.
Search @userinfobot
Back in the Telegram search bar, type @userinfobot. Pick the result with the blue verified checkmark. (Several copycats exist — only open the verified one.)
Press Start
The bot replies instantly with your details. The line that says Id: is the number you want — usually 9–10 digits. Copy it.
Recap — fields to fill in
TELEGRAM_BOT_TOKEN— the long token from step 4.TELEGRAM_HOME_CHANNEL/TELEGRAM_HOME_CHANNEL_NAME— optional. Set these only if the agent should post into a group/channel by default.