Before you begin configuring OpenClaw (Clawdbot) to integrate with Telegram, please check the following:
You already have a Telegram account.
Have you already deployed and configured OpenClaw on a Lighthouse server instance (overseas regions recommended), and is it version 2026.2.3 or higher? If not, we recommend:
If you wish to purchase a new Lighthouse server to install and run OpenClaw, you can purchase it from the Tencent Cloud Lighthouse product purchase page, or take advantage of the discount offered by Tencent Cloud’s OpenClaw exclusive promotion. For detailed deployment and configuration procedures for OpenClaw, please refer to the OpenClaw (formerly Clawdbot) One-Click Instant Deployment Guide on the Cloud.
If you already have a previously deployed OpenClaw application template, but it is not the latest version, you can refer to the tutorial to update the version: How to Update the Server OpenClaw Application Version.
OpenClaw natively supports integration with popular chat applications such as WhatsApp, Telegram, and Discord, allowing users to interact with OpenClaw through these applications.
Create a bot in Telegram
Search for @BotFather in Telegram and click…

Send /newbot

Follow the prompts to enter the bot name and username (Note: the username must end with “_bot”).

After completing the input, you will receive a token. Please keep it safe and do not disclose it. It will be added later in OpenClaw.
Next, you need to configure a model for the already deployed OpenClaw instance.
Go to the Tencent Cloud console, select the corresponding Lighthouse server with deployed OpenClaw, and click the server card to enter the “Manage Instances” page.

Model Configuration
Configuring the model API Key for OpenClaw can be done through the application management page of the Lighthouse server. For details, please refer to the OpenClaw (formerly Clawdbot) One-Click Instant Deployment Guide — Configuring the Model API Key; it will not be repeated here.
After logging into the server for the first time, enter and press Enter to run the following command to begin configuration:
clawdbot onboard
After running clawdbot onboard, you need to complete the subsequent configuration actions using the keyboard. Key operations: use the arrow keys to control options, and press Enter to select and confirm.
Agree to the disclaimer. After running the above command, a question will appear: Are you aware of the risks? Select Yes.

Configuration Mode Selection: Quick Start Next, we need to select the Onboarding mode; we choose QuickStart.

Configuration processing method:
Select “Use existing values”

Model Configuration
The large model has already been configured in the Tencent Cloud console as described above, so you can skip this step (select as shown in the example below).
Configuring the model APIKey for OpenClaw can be done on the application management page of the Lighthouse server. For details, please refer to the OpenClaw (formerly Clawdbot) One-Click Instant Deployment Guide — Configuring Model APIKey; it will not be repeated here.
Skip for now

All providers

Keep current

In the Select channel step, use the arrow keys to select Telegram (Bot API) and press Enter:

Enter the bot token

The bot token saved in the previous text for Telegram

Configure Skills
Select: No
Reason: Skills can enable system-level automation capabilities, including:
For initial deployments, restricting permissions can improve stability and security.

Enable Hooks (Skip this step if it doesn’t appear)
Select only: session-memory (Use the up and down arrow keys to move the cursor, the spacebar to select, and the Enter key to confirm and proceed to the next step)
Reason:
Please do not select:
Run script automatically at startup (boot-md)
Command tracing and logging (command-logger)

Installation complete.
Select Restart.

Startup method:
Select “Do this later”

Install command completion feature
Select No
Note: Selecting Yes here may cause high CPU load on the server during OpenClaw execution, leading to problems with OpenClaw operation.

OpenClaw configuration is now complete.
Chatting with the Bot in Telegram
In the BotFather chat mentioned above, click the location shown in the image to open the Bot chat window.

Click START

During the initial conversation, a pairing code will be sent. Run the command below to complete the pairing process.

Enter the command in Tencent Cloud Light Application Serveropenclaw pairing approve telegram code
Note: Replace code with the pairing code you received in Telegram, without adding <> when entering it.

Now you can chat with bots that have integrated OpenClaw on Telegram.

If this step occurs during the Channel configuration process of integrating with Telegram, you need to obtain your user ID in Telegram and add it. Refer to the following steps.

Search for @userinfobot on Telegram and click [link/click].

Click START or RESTART in the upper right corner.

Copy the ID received here

Paste it into the terminal and press Enter to confirm.

Welcome to join the discussion!
A Discord has been created, and everyone is welcome to join and explore advanced ways to use Moltbot (Clawdbot) together!
