Step-by-step guide to connecting OpenClaw to Telegram. Create a bot with BotFather, get your token, and have your AI assistant live in under 5 minutes.
Telegram is the most popular platform for OpenClaw users — and for good reason. Telegram's bot API is fast, reliable, and works on every device. Once connected, your OpenClaw AI assistant receives your messages and responds just like a contact in your chat.
This guide covers the complete setup process: creating a Telegram bot, getting your token, and connecting it to OpenClaw — both via EZClaw (the fast path) and via manual self-hosting.
BotFather is Telegram's official bot management tool. Every Telegram bot in existence was created through it. Here's how:
/newbotbot. Example: myaiassistant_bot7841234567:AAHxyz...Important: Keep your bot token private. Anyone who has it can control your bot. Do not share it in public forums or commit it to version control.
You now have two options depending on how you're running OpenClaw.
EZClaw handles everything from here — provisioning a cloud server, installing OpenClaw, configuring the Telegram webhook, connecting your AI provider, and starting the service. Your bot will be responding to messages within about 60 seconds.
If you're self-hosting OpenClaw on a VPS, the Telegram configuration requires setting up a webhook so Telegram can forward messages to your server:
TELEGRAM_BOT_TOKEN=your_token_here).Once connected (via either method), open Telegram and find your bot by its username. Send it a message like “Hello! What can you help me with?”
You should receive a response within a few seconds. If you're using EZClaw, you can watch the deployment log in real time to confirm everything connected successfully.
Back in BotFather, you can customize your bot further with these commands:
/setdescription — set the text users see when they first open the bot/setuserpic — add a profile photo for your bot/setcommands — configure the slash commands menu that appears in the chat/setprivacy — control whether the bot can read all messages in groups or only those directed at itMy bot isn't responding. Verify the bot token was copied correctly (no spaces, no line breaks). If using EZClaw, check the deployment log for error messages. If self-hosting, ensure the OpenClaw process is running and the Telegram webhook URL is correctly configured.
The bot responds but gives an error about AI credits. Your AI provider API key may have insufficient credits. Check your OpenAI/Google/Z.AI billing page. With EZClaw, your $15 monthly credit allowance is pre-configured.
I need the bot to work in a group chat. OpenClaw supports Telegram groups. Add your bot to the group and use /setprivacy off in BotFather so the bot can read all messages in the group (not just direct mentions).
Once your OpenClaw Telegram bot is running, you can teach it new skills through natural language — just tell it what you want it to do. Try:
If you haven't deployed OpenClaw yet, the no-server deployment guide is the fastest way to get started without any technical knowledge.
Ready to get started?
No servers. No code. Just pick a model, connect Telegram, and go.