This document shows how to integrate the OpenClaw service with Telegram. This integration lets you interact with OpenClaw using natural language directly in Telegram.
Prerequisites
Before you configure the messaging channel, you must purchase and configure a Simple Application Server instance with the OpenClaw application image. You can follow the steps in this section or refer to Deploy OpenClaw image. If you have already completed this setup, you can skip this section.
Prepare your Telegram bot
Log on to your Telegram account, search for
@BotFather, and click the contact to open a chat.
In the dialog box, enter and send
/newbot.
Follow the prompts to enter and send a Bot Name and a Username. Note that the username must end with
_bot.ImportantAfter you complete this step, you will receive a token. Securely store this token and do not share it, as you will need it to configure OpenClaw later.

Integrate with Telegram
1. Configure Telegram in the OpenClaw wizard
-
Go to the Servers page in the Simple Application Server console.
On the server card, click Remote Connection.

In the Remote Connection dialog box, select Connect with One-click on Workbench and click Log On Now.

After you log on to the server, run the following command.
NoteUse your keyboard for the following steps. Use the arrow keys to navigate and press Enter to confirm your selections.
openclaw onboardA prompt will ask if you understand the risks. Select
Yesto continue.
For the
Onboardingmode, selectQuickStart.
For
Config handling, selectUse existing values.
For
Model/auth provider, selectSkip for now>All providers>Keep current.NoteIf you have already configured the Model Studio API Key in the previous steps, you can skip this step. If you have not yet configured a model, you must configure the model API Key at this step from the command line.



In the
Select channelstep, selectTelegram (Bot API).
Select
Enter Telegram bot token, and then enter theTelegram bot tokenthat you saved from Telegram.

Configure Skills. Select
No. For an initial deployment, limiting permissions improves stability and security.
Enable Hooks (if prompted). Select
session-memory.
Select
Restartto apply the configuration.
Install command completion (if prompted). Select
No.ImportantSelecting
Yescan cause high CPU load on the server, which may lead to performance issues with OpenClaw.After you complete these steps, the system automatically finishes the deployment. The deployment is complete when the configuration wizard closes and the command-line interface appears.
2. Test the bot
In your chat with BotFather, click the link to your new bot to open a chat window.

In your first conversation, the Telegram bot will send a pairing code. You must then run the following command on your server to complete the pairing.

After you establish a remote connection to the Simple Application Server, enter and run the following command.
ImportantYou need to replace
<code>in the command with thePairing codesent by theTelegram Bot. When you enter the code, do not include the <> symbols.openclaw pairing approve telegram <code>
You have now successfully integrated OpenClaw with Telegram.

