Skip to content

Channel Configuration Guide

AstronClaw supports connecting to various enterprise collaboration platforms and social media, allowing you to interact with the AI assistant directly in your familiar tools.

Feishu Channel Configuration Guide

This guide introduces how to connect AstronClaw to Feishu (Lark), so you can interact directly with the AstronClaw agent and execute tasks within Feishu.

Prerequisites

  • Have Feishu Administrator Permissions
  • Successfully Deployed AstronClaw
  • Entered the Channels configuration module

Steps

Step 1: Create a Feishu App

  1. Open the Feishu Open Platform
  2. Click Create Custom AppCreate Feishu App
  3. Fill in the app information (Suggested App Name: AstronClaw Assistant), and click Create.

Step 2: Get App Credentials After entering the app background, click the left menu Credentials & Basic Info, copy the App ID and App Secret. This information will be used in the AstronClaw channel configuration. Get Feishu Credentials

Step 3: Configure App Permissions and Enable Bot Capabilities

  1. Go to Permission Management in the left navigation, click the Batch Import button, and paste the JSON configuration to import required permissions with one click: Configure Feishu Permissions
  2. On the App Capabilities > Bot page: Enable bot capabilities and configure the bot name: Enable Feishu Bot

Step 4: Configure Event Subscription

  1. Fill in the App ID and App Secret obtained in Step 2 on the AstronClaw "Channel Configuration" page, click save configuration, and wait for the top right corner to turn green (configured). Configure AstronClaw Feishu Channel
  2. Return to the Feishu configuration page to enable Event Subscription, choose to use a persistent connection to receive events, and click save.
  3. Add event: im.message.receive_v1 (Receive messages). Add Feishu Event 1Add Feishu Event 2

Step 5: Publish Feishu App Create a version on the Version Management and Publish page, submit for review, and publish.


DingTalk Channel Configuration Guide

Steps

Step 1: Create a DingTalk App

  1. Log in to the DingTalk Open Platform, select Enterprise Internal App > DingTalk App in the left directory tree, and click the Create App button. Create DingTalk App
  2. After configuring the app name, icon, and other information, click Save.

Step 2: Add Permissions for DingTalk App Permissions required for the DingTalk app: Card.Instance.Write, Card.Streaming.Write, qyapi_robot_sendmsg.

  1. Select Development Configuration > Permission Management in the left directory tree.
  2. Search for Card, check the interactive card instance write permission and AI card stream update permission, and apply in batch. Apply Card Permissions
  3. Search for qyapi_robot_sendmsg and open the permission to send messages for the enterprise internal robot. Apply Send Message Permission

Step 3: Configure DingTalk Bot

  1. Select App Capabilities > Add App Capability, and add a bot. Add DingTalk Bot
  2. Turn on the bot configuration switch. Enable DingTalk Bot
  3. Change the message receiving mode to Stream mode, and click publish to save the configuration. Configure DingTalk Stream Mode

Step 4: Publish App Version Create a new version and publish on the Version Management and Publish page. Publish DingTalk App

Step 5: Get App Info and Configure AstronClaw

  1. In Basic Info > Credentials & Basic Info, copy Client ID, Client Secret, and other information. Get DingTalk Credentials
  2. Enter AstronClaw "Channel Configuration", select "DingTalk", fill in the credentials, and save.

WeCom Channel Configuration Guide

Method 1: Manual Configuration

Step 1: Create WeCom Bot

  1. Log in to the WeCom Management Background.
  2. Select Workspace > Smart Office in the left directory tree, and click Smart Bot. Smart Bot
  3. Click Create Bot, and choose Manual Creation. Manual Creation WeCom Bot
  4. Set the name and avatar of the bot. Set WeCom Bot Name

Step 2: Enable Persistent Connection

  1. In the lower right corner of the bot configuration page, click API Mode Creation. WeCom API Mode
  2. Set the connection method to use a persistent connection. WeCom Use Persistent Connection
  3. Get Secret, copy Bot ID and Secret ID, and click Save. Get WeCom Credentials

Step 3: Complete Configuration in AstronClaw Enter AstronClaw "Channel Configuration", select "WeCom", fill in the Bot ID and Secret, and click "Save Configuration".

  1. Click get QR code on the AstronClaw configuration page, and use WeCom to scan the QR code to complete authorization configuration. WeCom Scan Code Authorization
  2. Click "One-click Create Smart Bot", and it will be created automatically. The system will automatically identify and fill in the corresponding BOT ID and APP SECRET of the bot, click "Save Configuration". WeCom One-click Create 1WeCom One-click Create 2

WeChat Channel Configuration Guide

Prerequisites

  • Successfully Deployed AstronClaw
  • Entered the Channels configuration module

Steps

Step 1: Get QR Code in AstronClaw

  1. Enter the AstronClaw "Channel Configuration" page
  2. Select the "WeChat" channel
  3. Click "Scan to Connect WeChat", and a QR code will pop up Scan to connect WeChat 1Scan to connect WeChat 2

Step 2: Use WeChat to Scan Code Use WeChat to scan the QR code above, and click "Connect" on the pop-up page to complete binding. Connection Confirm

Note: The QR code is valid for 30 seconds. If it times out, please click "Click to Refresh" on the mask layer to get it again. Timeout Refresh

Add Multiple Accounts and Unbind

Add Multiple Accounts: If you need to associate multiple WeChat accounts, click "+ Add Account" and repeat the scan steps above. Add Account


Weibo Channel Configuration Guide

Step 1: Get Credentials Open the Weibo client and send a private message to https://weibo.com/u/6808810981Private Message Weibo Account

Send private message: Connect Lobster. Get the app credentials: Get Weibo Credentials

Step 2: Complete Configuration in AstronClaw

  1. Enter the AstronClaw "Channel Configuration" page
  2. Select the "Weibo" channel
  3. Fill in the App Id and AppSecret obtained in Step 1
  4. Click "Save Configuration" Configure Weibo Channel

Released under the Apache License 2.0.

🤖