How to Install and Configure OpenClaw AI Bot with Feishu Integration

This guide walks you through checking Node.js version, installing OpenClaw via script or npm, configuring personal mode, selecting a model provider and API key, setting up Feishu app credentials and permissions, managing versions, pairing the bot, and using common OpenClaw command‑line tools for operation and troubleshooting.

AI Software Product Manager
AI Software Product Manager
AI Software Product Manager
How to Install and Configure OpenClaw AI Bot with Feishu Integration

Installation

Ensure Node.js version 22+ is installed.

curl -fsSL https://openclaw.ai/install.sh | bash
iwr -useb https://openclaw.ai/install.ps1 | iex

If the script fails, install via npm: npm install -g openclaw@latest Verify the installation by checking for OpenClaw output in the terminal.

Installation verification
Installation verification

Configuration

Personal mode

Select Yes to use personal mode.

QuickStart mode

Choose QuickStart as the configuration mode.

Model provider

Select the model provider you have purchased (e.g., OpenAI, Anthropic/Google, Qwen, MiniMax, Xiaomi). The example uses Xiaomi.

API key

Obtain a free API key from the Xiaomi platform at https://platform.xiaomimimo.com/#/console/api-keys and enter it when prompted.

Default model

Enter the model name that matches the chosen provider, for example xiaomi/mimo-claw-0301.

Model selection
Model selection

Channel selection

For beginners, skip the channel selection; experienced users can choose Feishu.

Feishu configuration

Create a custom app in the Feishu Open Platform, name it (e.g., "My AI Assistant"), and obtain the App ID and App Secret.

openclaw config set channels.feishu.appId "YOUR_APP_ID"
openclaw config set channels.feishu.appSecret "YOUR_APP_SECRET"

Set the required permission scopes (JSON example omitted for brevity) and enable the channel. openclaw config set channels.feishu.enabled true After configuring, restart the gateway: openclaw gateway restart Check the connection logs to confirm success (look for messages like "feishu ws connected" and "feishu provider ready").

openclaw logs --follow

Version management and publishing

Create a new version (e.g., 1.0.0) in the Feishu app version management page and publish it to all employees.

Pairing

List the pairing code, approve it, and restart the gateway:

openclaw pairing list feishu
openclaw pairing approve feishu YOUR_PAIRING_CODE
openclaw gateway restart

Send a message to the bot (e.g., "Hello") to receive a reply.

Common commands

openclaw onboard --install-daemon

– start the initialization wizard. openclaw status – view service status. openclaw start – start the OpenClaw daemon after configuration. openclaw dashboard – open the management UI in a browser. openclaw channels list – list all configured chat channels. openclaw models set <model_name> – switch the AI model. openclaw doctor --fix – run self‑diagnosis and auto‑repair. npx skills add find-skills – install the skill marketplace. find-skills search <keyword> – search for skills. openclaw plugins install @m1heng-clawd/feishu – install the Feishu plugin. openclaw config list | grep feishu – check Feishu configuration. openclaw logs --follow – follow log output.

ConfigurationFeishuCommand LinetutorialInstallationAI chatbotOpenClaw
AI Software Product Manager
Written by

AI Software Product Manager

Daily updates of Xiaomi's latest AI internal materials

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.