Skip to main content

Set Up Telegram

Connect your agent to Telegram so you can message it just like any other contact. The whole process takes about 2 minutes.

What you’ll need

  • A Telegram account
  • The Telegram app (phone or desktop)

Step-by-step setup

1

Open BotFather on Telegram

Search for @BotFather in Telegram, or click here to open it. BotFather is Telegram’s official tool for creating bots.
2

Create a new bot

Send /newbot to BotFather. It will ask you two things:
  1. A name for your bot (this is the display name, e.g. “My Klaws Agent”)
  2. A username for your bot (must end in bot, e.g. my_klaws_agent_bot)
3

Copy the token

BotFather will reply with an API token — a long string of numbers and letters. Copy this token. You’ll need it in the next step.
Keep this token private. Anyone with your token can control your Telegram bot.
4

Add the token to Klaws

Go to your agent’s dashboard, find the Channels section, and select Telegram. Paste your bot token and save.
5

Start chatting

Go back to Telegram, find your bot by searching for its username, and send it a message. Your agent will respond.

Tips

Yes. Go back to BotFather and use the /setname or /setuserpic commands to customize your bot’s appearance.
Your bot is designed for 1-on-1 conversations. Group chat support may be added in the future.
Double-check that you pasted the correct token in your Klaws dashboard. Make sure there are no extra spaces before or after the token.