Setup guide
How to connect an AI agent to Telegram
Create the bot with @BotFather, copy the token it gives you, then paste that token into Keiki on the Channels page and attach it to an agent. Keiki confirms which bot the token belongs to and takes over the webhook, so there is no server for you to run and nothing to deploy.
- Send /newbot to @BotFather and copy the token it gives you.
- Request access at onkeiki.com, then open the Event Companion template.
- Paste the token on the Channels page; Keiki verifies it and owns the webhook.
- DM the bot to test, then add it to the group and mention it.
Before you start
What you need before you start.
- A Keiki account — signups are invite-only, so request access or take an invitation from a teammate
- A Telegram account, so you can talk to @BotFather
- A bot token in the shape 123456789:ABCdef… from @BotFather
- No server, no hosting bill, and no webhook of your own to keep alive
Step by step
Six steps from @BotFather to a bot that answers.
Step 1
Get access to Keiki
Request access at onkeiki.com — signups are invite-only, so you either request a spot or take an invitation from a teammate. The account itself costs nothing, and a Telegram bot costs nothing to run: there is no phone number to buy on this channel.
Step 2
Create the bot with @BotFather
Open @BotFather in Telegram, send /newbot, and give it a display name and a username ending in "bot". BotFather replies with an HTTP API token like 123456789:ABCdef… — that token is the whole credential, so treat it like a password.
Step 3
Start from a template instead of a blank agent
Open the Event Companion template in Keiki. It arrives knowing how to answer the same six questions a group asks all week — schedule, location, timing, what changed — without turning into a broadcast channel.
Step 4
Paste the bot token into Keiki
On the Channels page, add a Telegram bot and paste the token. Keiki checks it live and shows you which bot it belongs to, so a typo is caught before anything is saved. Attach the agent in the same dialog, or leave it unattached and do it later.
Step 5
Message the bot, then add it to a group
Start a direct chat with the bot and ask it something real. Then add it to a group and mention it: in a busy group the agent answers when it is addressed and stays quiet the rest of the time, which is what keeps it from being muted.