Skip to main content

Feishu Setup

Connect your Vecbase agent to Feishu so team members can chat with it in group chats and direct messages.
Currently only Feishu (feishu.cn) is supported. International Lark (larksuite.com) is not yet supported.

Prerequisites

  • A Feishu admin account (or an account with permission to create apps)
  • A Vecbase agent created

Step 1: Create an App on Feishu Open Platform

1

Open the platform

Go to Feishu Open Platform and log in with your Feishu account.
2

Create an app

Click Create Custom App. Enter a name and description.
3

Get credentials

On the Credentials & Basic Info page, find:
  • App ID: cli_xxxxxxxxx
  • App Secret: xxxxxxxxxxxxxxxx

Step 2: Enable Bot Capability

1

Add bot capability

In the left sidebar, go to App CapabilitiesBot and click Enable.
2

Configure permissions

In Permission Management, add the following permissions:
PermissionDescription
im:messageSend and receive messages
im:message.group_at_msgReceive @mentions in group chats
im:resourceSend and receive files and images
contact:user.base:readonlyRead basic user info (for displaying sender names)
3

Publish the app

Go to Version Management & Release, create a version and submit for review.
Internal enterprise apps are usually approved automatically. ISV apps require admin approval.

Step 3: Connect in Vecbase

1

Open agent settings

Open your agent, tap Settings in the top right, then select Channels.
2

Add Feishu channel

Click Add Channel next to Feishu.
3

Enter credentials

  • Display Name: A name for this channel (e.g., “Office Assistant”)
  • App ID: Copy from the Open Platform
  • App Secret: Copy from the Open Platform
4

Create

Click Create. Status will change to Connected.

Step 4: Test

Find your bot in Feishu (search for the app name) and send a message. Your agent will reply automatically.

Direct messages

Send a message directly to the bot.

Group chats

  1. Add the bot to a group chat
  2. @mention the bot name and send a message
  3. The agent will reply in the group

Feishu Office Suite

Once connected, your agent can also work with Feishu’s office tools:
FeatureDescription
DocumentsCreate, read, and edit Feishu documents
BitablesQuery and write data in Bitable
WikiBrowse and manage Wiki pages
DriveManage files in Feishu Drive
PermissionsSet document sharing permissions
Just tell your agent what you need — for example, “Create a meeting notes document” — and it handles the rest.
These features require adding the corresponding API permissions for your app on the Feishu Open Platform.