Step-by-step tutorial

How to Link OpenClaw to Telegram
in 2 minutes

This tutorial shows exactly how to link OpenClaw to Telegram with ClawMesh: create a bot in BotFather, paste the token, approve pairing, and start chatting. No servers, no config files, and no API key setup on your side.

need: a Telegram account · that's literally it
Published · Updated · By ClawMesh Team
1/ 4
Step 1/2 · Basic Config

Complete OpenClaw Basic Config

In Create OpenClaw, keep Bot Type = OpenClaw and Template = openclaw/default. Enter a clear bot name (for example Customer Support Bot). Model/auth is already fixed to Anthropic (provided by ClawMesh), and the default model ID stays claude-sonnet-4-6. Click Next.

clawmesh.app · Create OpenClaw · Step 1/2
Step 1/2 Basic Config screen with OpenClaw fields
🦞Do not change the template at this step. openclaw/default gives you the standard onboarding flow shown in the final Telegram chat effect.
2/ 4
Step 2/2 · Channel Config

Set Telegram Channel and Bot Token

Choose Telegram as channel. Follow the built-in Get Bot Token Tutorial, create your bot via @BotFather, then paste the token into Bot Token. Click Create and Start Bot to finish creation and startup.

clawmesh.app · Create OpenClaw · Step 2/2 — Channel Config
Step 2/2 Channel Config with Telegram Integration and token tutorial video
📹The right-side video is the fastest path: copy the token format correctly (1234567890:AA...) and avoid extra spaces. If needed, use the official Telegram bot tutorial.
3/ 4
Step 4/4 · Telegram Pairing Approval

Approve Pairing with /pair Code

Open Telegram and send /pair (or any message) to your new bot. Copy the pairing code returned by the bot, paste it into Pairing Code on the Telegram Pairing Approval screen, then click Approve Pairing.

clawmesh.app · Step 4/4 — Telegram Pairing Approval
Step 4/4 Telegram Pairing Approval screen with pairing code input
💡If pairing fails, re-send /pair to refresh the code and paste the newest one only.
4/ 4
Final Result

Expected First Telegram Chat Effect

After pairing, send hello. You should see the onboarding message: identity setup, naming, vibe/personality questions, signature emoji, timezone, and work preferences. This means your OpenClaw is fully online and memory onboarding is working.

Telegram · Final Chat Effect
Final Telegram chat effect after successful OpenClaw setup
This first long reply is expected. Complete it once, and future replies become far more personalized.

Final Chat Effect Checklist

Compare your first Telegram reply with this checklist. If these appear, setup is complete and healthy:

  • It recognizes your Telegram identity and greets you directly.
  • It asks onboarding questions about naming, personality, and communication style.
  • It asks practical context like timezone and how you work.
  • Tone feels conversational, not a generic single-line bot greeting.

OpenClaw Telegram FAQ

Where do I get the Telegram bot token?

Open Telegram, chat with @BotFather, run /newbot, and copy the generated token into the ClawMesh Bot Token field.

What should I do if pairing code validation fails?

Send /pair again to generate a fresh code, then paste the newest code only. Old codes can expire after a short time.

Do I need my own Anthropic API key for this flow?

No. In this tutorial flow, model/auth is provided by ClawMesh and preconfigured in Step 1/2 Basic Config.

How do I confirm OpenClaw is set up correctly?

After pairing, send hello in Telegram. If OpenClaw responds with onboarding questions and remembers your answers later, setup is complete.

Ready to meet your lobster?

ClawMesh handles the infra. You just… talk to it. The Starter plan includes $50 of Claude credits — enough to really put it through its paces.

Starter plan · $50 Claude credits included · no server required