跳到主要内容

Feishu

This documentation will teach you how to integrate your AI into Feishu.

Integration is a paid user feature. Therefore, only users with professional subscriptions and above can use integrations.

How to Integrate Vanus AI in Feishu

Prerequisites:

Step 1: Create an AI Application

  1. Navigate to Vanus AI and Sign up with your Github, Google, Microsoft Account① or click Sign up②.

  1. Initiate a new AI App by hitting the Create App③ button.

  1. Input an App Name④, select an App Model⑤, upload to the Knowledge Base⑥, then click Create⑦.

If you find yourself uncertain about which app model to select, please refer to the Large Language Models (LLM) Documentation for clear guidance on choosing the most suitable LLM for your requirements.

  1. Select the Integrations Tab⑧ and select the Feishu Integration⑨.

Step 2: Create a Feishu App

  1. Click on Create Custom App①.

  1. Give your app a Name② & Description③ and click Create④.

  1. Under Credentials & Basic Info⑤, copy the App ID⑥ and App Secret⑦.

  1. Paste App ID⑧ and App Secret⑨ into each field.

  1. Go to Add Features⑩ and click + Add⑪ bot.

  1. Now go to Permissions & Scopes⑫ and select Messenger⑬.

  1. Scroll down and select Read and send messages in private and group chats⑭ and click Add in bulk⑮.

  1. Now go to Event Subscriptions⑯ and copy Verification Token⑰. Optionally reset Encrypt Key⑱ for added security and copy it also.

  1. Paste the Verification Token⑲. Encrypt Key⑳ into Vanus AI and press Create㉑.

  1. Copy the Webhook Url㉒ in Vanus AI.

  1. Click the icon of Request URL configuration 📝㉓, paste the Webhook Url㉔ and press Save㉕.

  1. Now click Add Events㉖.

  1. Select Messenger㉗, Message received㉘ and press Confirm㉙.

  1. Now add Read private messages sent to the bot㉚ and Read group chat messages mentioning the bot㉛ by clicking on them both.

  1. Press Add㉜ for each of them.

⚠ Verify that you have these 2 events.❗

  1. Now go to Version Management & Release㉝ and click Create Version㉞ to publish your app.

  1. Set App version㉟ to 1.0.0, add Update Notes㊱ and click Save㊲.

  1. Your Feishu admin will need to approve the release request.

Step 3: Invite Feishu Bot

  1. Create a New Group① chat.

  1. In the Feishu group click ...② and then Settings③.

  1. Now click Bots④.

  1. Click Add Bot⑤.

  1. Search for your app name Vanus AI⑥ and Click on Vanus AI⑦.

  1. Invite your bot by clicking Add⑧.

  1. Send a question to your bot by tagging him using @.