Technology Encyclopedia Home >Mastering OpenClaw | A Quick Guide to Integrating OpenClaw (Clawdbot) into Discord on the Cloud

Mastering OpenClaw | A Quick Guide to Integrating OpenClaw (Clawdbot) into Discord on the Cloud

Preliminary Preparations

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

Step 1. Configure the OpenClaw Model

1.Log in and enter the Console.

2.Locate "Tencent Cloud Lighthouse".

3.Find the Instance you just purchased.

4.Go to the "Pre-installed application" tab.

5.Choose a suitable model/existing API

The Models list only displays models that are available for use in this region:
due to access or service restrictions on some models in specific regions, the system will not display models that are not currently supported in the current region.

If this is your first time using this service, after selecting a suitable model, click "Get API KEY" below to purchase the model's credit limit and obtain the key.

Step2. Integrating with Discord

In the application channel settings, select Discord.

Creating a Discord Bot and Obtaining a Token (Developer Platform Operation)

This is the core credential for integration. The steps are as follows:

  1. Open the Discord developer platform: , click New Application, enter a Bot name (e.g., Moltbot-AI), agree to the terms, and then create the Bot.


  1. Enter the application page, click on the Bot on the left, and copy the Token (click Reset Token to generate it, keep it safe, as leakage will lead to the abuse of the Bot);

Copy and paste the key here, click "Add and Apply".

The following image indicates successful deployment.

  1. Next, you need to enable permissions (required, otherwise the bot cannot read messages/send replies). The specific steps are as follows:

On the bot page, scroll down to Privileged Gateway Intents and enable **Message Content Intent **(required, for reading message content), Server Members Intent (recommended, needed when the role list and name match ID), and Presence Intent (optional, only used for status updates). After checking the boxes, click Save Changes below.

  1. Configure Bot permissions: Click OAuth2 on the left side of the page, then select OAuth2 URL Generator on the next page. Configure Scopes first, and it is recommended to select bot and applications.commands first according to the principle of minimizing.

Scroll down to continue configuring Bot Permissions, and check View Channels, Send Messages, Read Message History, Embed Links, Attach Files, and Add Reactions (optional).

  1. Copy the generated Invite Link, open it in your browser, and invite the bot to your Discord server (server administrator privileges required). Click Continue to authorize, and then you can invite the bot to join:

The completed result is shown in the image below:

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

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!

🚀 Developer Community & Support

1️⃣ OpenClaw Developer Community

Unlock advanced tips on Discord

Click to join the community
Note: After joining, you can get the latest plugin templates and deployment playbooks

2️⃣ Dedicated Support

Join WhatsApp / WeCom for dedicated technical support

Channel Scan / Click to join
WhatsApp Channel
WeCom (Enterprise WeChat)

Learn more on the official page: Tencent Cloud OpenClaw