ChatBI Feishu H5 Integration Solution
1. Overview
This article guides how to integrate Chat BI with Feishu H5 application for intelligent data querying.
2. Prerequisites
The customer has configured Feishu account integration in BI. For Feishu account integration solution, see: Feishu Complete Integration Solution.
3. Operation Steps
1. Create GuanYuan BI Application in "Feishu Open Platform > Developer Backend"
In "Feishu Open Platform > Developer Backend", click "Create Application" on the developer backend page (https://open.feishu.cn/app)
In the Feishu developer backend, click "Create Application":

2. Add Web Application Capability to the Application
-
In "Add Application Capability", add "Web Application" capability.
-
Configure desktop homepage and mobile homepage links.
- Desktop Homepage: Opens the application homepage in desktop Feishu workbench. (Desktop version does not support calling Native capabilities)
- Mobile Homepage: Opens the application homepage in mobile Feishu workbench.
Note: If password-free login is needed, configure the password-free login link. Copy the password-free login link from the BI backend and concatenate the bold content (see example below).

- Desktop Password-free Login Link Example: https://open.feishu.cn/open-apis/authen/v1/index?redirect_uri=https%3A%2F%2Fpartner.mayidata.com%2F**chatBI%2F**%3Fprovider%3Dfeishu%26domain%3D%25E5%258F%258C%25E6%25B1%2587%26path_url%3D&app_id=cli_a66bf1d3a3b3900d&state=pc
- Mobile Password-free Login Link Example: https://open.feishu.cn/open-apis/authen/v1/index?redirect_uri=https%3A%2F%2Fpartner.mayidata.com%2F**m%2FchatBI%2F**%3Fprovider%3Dfeishu%26domain%3D%25E5%258F%258C%25E6%25B1%2587%26path_url%3D&app_id=cli_a66bf1d3a3b3900d&state=app
3. Enable Permissions
In "Permission Management", enable "Get User ID" permission.

4. Security Settings
In "Security Settings", configure redirect URL and H5 trusted domain.
Note: The http or https protocol cannot be written incorrectly.

5. BI Integration Feishu Application Configuration Redirect URL and H5 Trusted Domain
Enter the Feishu app configured for password-free login, add redirect address (BI callback address).
Note: The http or https protocol cannot be written incorrectly.
-
Redirect URL Examples:
-
H5 Trusted Domain Examples:
