Prerequisites
- SetupClaw APP installed and running
- A Feishu workspace with admin access
- OpenClaw configured with at least one AI model
1
Step 1: Create a Feishu App
Go to the Feishu Open Platform (open.feishu.cn) and create a new custom application.
- aVisit open.feishu.cn and log in with your Feishu account
- bClick "Create Custom App"
- cEnter an app name (e.g., "AI Assistant") and description
- dNote down the App ID and App Secret — you'll need these in SetupClaw
2
Step 2: Configure Bot Capabilities
Enable the bot feature for your Feishu app.
- aIn your app settings, go to "Add Features" → "Bot"
- bEnable the bot capability
- cSet the bot name and description that users will see in Feishu
3
Step 3: Set Permissions
Grant the necessary permissions for your bot to send and receive messages.
- aGo to "Permissions & Scopes"
- bAdd the following permissions: im:message (send messages), im:message.receive_v1 (receive messages), im:chat (access chat info)
- cRequest approval for these permissions if required by your organisation
4
Step 4: Configure Event Subscription
Set up the webhook URL so Feishu can send message events to OpenClaw.
- aGo to "Event Subscriptions"
- bEnable event subscriptions
- cThe Request URL will be provided by SetupClaw during setup — you'll enter it here later
- dSubscribe to the "Message Received" event (im.message.receive_v1)
5
Step 5: Enter Credentials in SetupClaw
Open SetupClaw APP and navigate to the Channels section.
- aOpen SetupClaw APP
- bGo to Channels → Add Channel → Select Feishu
- cEnter the App ID and App Secret from Step 1
- dClick Connect — SetupClaw will install the Feishu plugin automatically
- eThe gateway will reload with the new channel configuration
6
Step 6: Publish Your App
Make your Feishu bot available to users in your workspace.
- aBack in the Feishu Open Platform, go to "Version Management"
- bCreate a new version and submit for review
- cOnce approved, the bot will appear in your Feishu workspace
- dUsers can find and message the bot directly
7
Step 7: Pair Your Account
Send a message to your bot in Feishu to initiate pairing.
- aOpen Feishu and find your newly created bot
- bSend any message to the bot
- cThe bot will respond with a pairing code
- dEnter this code in SetupClaw APP to approve the pairing
- eYour Feishu bot is now connected and ready to use!
Advanced: Multi-Bot Setup
SetupClaw supports multiple Feishu bots, each with its own AI agent and workspace. To add another bot, go to Channels → Feishu → Add Bot, and repeat Steps 1-7 with a new Feishu app. Each bot operates independently with its own conversation history.