Skip to content

Getting Started

This guide will help you quickly install and configure the OpenClaw Feishu plugin.

Requirements

  • Node.js: v22 or higher
  • OpenClaw: 2026.2.26 or higher

Installation

1. Install OpenClaw Feishu Plugin

bash
openclaw plugin install feishu

Or install via npm:

bash
npm install -g @larksuite/openclaw-lark

2. Create App in Feishu Open Platform

  1. Visit Feishu Open Platform
  2. Create a self-built app
  3. Get your App ID and App Secret

3. Configure App Permissions

In the app's Permission Management, enable the following permissions:

Required Permissions

PermissionDescription
im:message:send_asSend messages
im:message:send_as_botSend messages as bot
im:message:receiveReceive messages
im:chat:readonlyRead group chat info
im:chat:update_group_nameUpdate group name

Optional Permissions (as needed)

PermissionDescription
doc:readonlyRead documents
doc:uploadUpload documents
doc:createCreate documents
bitable:readonlyRead bitable
bitable:createCreate bitable
calendar:readonlyRead calendar
calendar:event:createCreate calendar events
task:readonlyRead tasks
task:createCreate tasks

4. Configure OpenClaw

Edit ~/.openclaw/openclaw.json:

json
{
  "channels": {
    "feishu": {
      "enabled": true,
      "appId": "your_app_id",
      "appSecret": "your_app_secret"
    }
  }
}

5. Start OpenClaw

bash
openclaw gateway restart

First Authorization

After installation, users need to authorize via OAuth:

  1. User sends a message to the bot
  2. Bot sends authorization card
  3. User clicks authorize and completes login
  4. After authorization, all features are available

Verify Installation

Send a test message to the bot and confirm it responds correctly.

Next Steps

Released under the MIT License.