Docs / Setup

Telegram Setup

How to create a Telegram bot and connect it to your AI assistant

Creating a Telegram Bot

Your AI assistant lives inside a Telegram bot. Here's how to create one:

Step 1: Talk to BotFather

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a display name for your bot (e.g., "My AI Assistant")
  4. Choose a username ending in bot (e.g., my_claw_assistant_bot)

Step 2: Copy Your Token

BotFather will respond with an API token that looks like:

7123456789:AAHfiqksKZ8WmR2zCXXXXXXXXXXXXXXXXXX

Copy this token — you'll need it for MyClaw.

Step 3: Add Token to MyClaw

  1. Go to Settings > API Keys in your MyClaw dashboard
  2. Paste the token in the Telegram Bot Token field
  3. Click Save

Connecting to Your Assistant

Once your server is deployed with the Telegram token configured:

  1. Open Telegram
  2. Search for your bot by its username
  3. Press Start
  4. Send any message — your AI assistant will respond!

Bot Privacy Settings

By default, Telegram bots can only see messages that are directly sent to them or mention them. This is the recommended setting for privacy.

If you want to use your bot in group chats:

  1. Open @BotFather
  2. Send /setprivacy
  3. Select your bot
  4. Choose Disable to let the bot see all group messages

Tips

  • Custom avatar: Send /setuserpic to BotFather to set a profile picture for your bot
  • Description: Send /setdescription to BotFather to add a short bio
  • Commands menu: Your assistant responds to natural language — no slash commands needed