Step 3 — Set Up Telegram
Create a Telegram bot via BotFather and connect it to ReplyBase in minutes
What You Will Do
- Create a Telegram bot via @BotFather and get your bot token
- Create a bot in ReplyBase and optionally assign a flow
- Paste your token into Integrations > Telegram to connect
- ReplyBase registers your webhook automatically
A. Create a Telegram Bot via BotFather
BotFather is the official Telegram bot for creating and managing bots. You need a Telegram account to use it.
- 1Open Telegram (mobile or desktop) and search for @BotFather, or open t.me/BotFather. Tap Start.
- 2Send the command
/newbot. - 3BotFather asks for a display namefor your bot (e.g. "Acme Support"). Type it and send.
- 4BotFather then asks for a username. It must end in
bot(e.g.acmesupport_bot). - 5BotFather replies with a message containing your bot token — a string that looks like
123456:ABCdefGHIjklMNOpqrSTUvwxYZ. Copy it and keep it safe.
Keep your token private
Anyone with your bot token can control your bot. Do not share it publicly or commit it to source control. ReplyBase encrypts your token at rest.
B. Create a Bot in ReplyBase
You need a ReplyBase bot to link to your Telegram channel. If you already have one, skip to step C.
- 1Open Bots from the sidebar.
- 2Click New Bot, give it a name, and save.
- 3Optionally open Flows, create a flow in the builder, and assign it as the bot's Entry Flow in bot settings. Without this, conversations fall back to AI-only replies.
C. Connect Telegram in ReplyBase
- 1Open Integrations from the sidebar and click Telegram.
- 2Select your bot from the Bot dropdown.
- 3Paste your BotFather token into the Bot Token field.
- 4Click Connect. ReplyBase will:
- — validate your token with Telegram
- — create the channel record in your workspace
- — register a webhook at ReplyBase automatically
- 5The status card updates to show Connected with your bot name and last activity timestamp.
If Connection Fails
Invalid token error
Double-check the token copied from BotFather. Make sure there are no leading or trailing spaces. Tokens do not expire unless regenerated via /revoke in BotFather.
Webhook registration fails
Your ReplyBase app must be reachable from the internet for Telegram to deliver messages. If you are testing locally, use a tunnel tool like ngrok to expose your local server.