Guide

How to get a BotFather token (Telegram bot token)

If you can search for a contact and copy/paste a code, you can do this. Treat the token like a password.

What you’re looking for
A token that looks like this
123456789:AAAbbbCCCDDDeeeFFF
If what you copied doesn’t include a colon (:), it’s probably not the token.
Step-by-step
Create a bot and get the token
  1. Open Telegram.
  2. Search for @BotFather and open the chat.
  3. Tap Start.
  4. Send /newbot.
  5. Pick a name, then pick a username ending with bot.
  6. BotFather will reply with your token. Copy it.
  7. Paste it into Command Claw setup and connect Telegram.
Security
Rotate the token if it leaks
If you shared the token in a screenshot, pasted it into the wrong place, or think it was exposed, rotate it in BotFather and update it in Command Claw.
  1. Open @BotFather.
  2. Send /mybots.
  3. Select your bot.
  4. Choose the token option and generate a new token.
  5. Paste the new token into Command Claw and reconnect.
Tip: store the token in a password manager, not a notes app.
Troubleshooting
If the token is rejected
  • Remove any spaces before or after the token.
  • Make sure you’re pasting the token, not the bot username.
  • If you rotated the token, the old token will stop working.