Docs
Telegram Setup

Telegram Setup

How to create a Telegram bot and connect it to your ClawCloud assistant.

This guide walks you through creating a Telegram bot and connecting it to your ClawCloud assistant.

Create a Telegram bot

Open BotFather

Open Telegram and search for @BotFather, or click the link directly. BotFather is Telegram's official tool for creating bots.

Create a new bot

Send the command /newbot to BotFather. It will ask you two things:

  1. A name for your bot (this is the display name, e.g. "My AI Assistant")
  2. A username for your bot (must end in bot, e.g. my_ai_assistant_bot)

Copy the token

BotFather will respond with your bot token. It looks something like:

<YOUR_TELEGRAM_BOT_TOKEN>

Copy this token — you'll need it in the next step.

Keep your bot token private. Anyone with this token can control your bot. If you think it's been compromised, use /revoke in BotFather to generate a new one.

Connect to ClawCloud

  1. Go to the ClawCloud setup wizard
  2. Select Telegram as your channel
  3. Paste your bot token into the field
  4. Click Deploy

After deployment completes and you connect your Claude account, your bot will be live. Open Telegram, find your bot by its username, and send it a message.

Tips

  • Set a profile picture: Send /setuserpic to BotFather, choose your bot, and upload an image
  • Set a description: Send /setdescription to BotFather to add a description shown when users first open your bot
  • Privacy mode: By default, bots in groups only see messages that mention them or start with /. This is fine for most use cases
  • Multiple users: Your bot responds to anyone who messages it. If you want to restrict access, you can ask your assistant to only respond to your Telegram user ID