Before you begin configuring Discord for OpenClaw (Clawdbot), please check the following to ensure they are complete:
Discord account (registration address, and creation/joining to the target server).
Whether OpenClaw has already been deployed and configured on a Lighthouse server instance (overseas regions recommended), and is version 2026.2.3 or higher. If not yet, it is recommended that:
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 Tencent Cloud OpenClaw exclusive promotion for a discounted order. 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
Creating a Discord Bot and Obtaining a Token (Developer Platform Operation)
This is the core credential for integration. The steps are as follows:





a. Scroll down and continue selecting Bot Permissions: Send Messages, Read Message History, Embed Links, Use Slash Commands;



The completed result is shown in the image below:

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 Discord (Bot API) and press Enter:

Enter Discord bot token
This is the bot token generated earlier.

Configure access permissions. Select Yes.

Access Permission Mode
Select Open (allow all channels)

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.

Chat with a bot in Discord
Click on the bot you just created

Select private chat and send the first message.

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

openclaw pairing approve discord <code>
Note: Replace code with the pairing code you received in Discord, without adding <> when entering it.

Now you can chat with the OpenClaw bots that are already connected in Discord.

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