Intelligent Data Insight (hereinafter referred to as DataWind) supports functional integration with Lark. Through these capabilities, users can directly access DataWind's mobile application from the Lark Workbench, connect to Lark data sources, or receive daily, weekly, or monthly reports pushed by DataWind to their Lark personal account or group, thereby achieving integration with Lark and collaborative work. This article introduces the basic configuration operations for Lark integration.
The basic configuration for Lark integration requires users to perform custom application creation and permission configuration on the Lark side, and to perform office platform integration on the DataWind side. After completing the configuration, integration with Lark and collaborative work can be achieved.
warning
This article uses the Lark SaaS standard product as an example to introduce the configuration operation process on the Lark side. It should be noted that the configuration interface of the Lark Open Platform may differ depending on the user's deployment environment and version. For details, refer to Enterprise self-built application development process.
Related terms | Explanation | Usage scenarios |
|---|---|---|
The backend for adding new applications, which all developers can operate | In the integration scenario with DataWind, this is the backend for adding applications | |
The Lark organization management console, which only Lark organization administrators can operate | Approve application launch and grant relevant permissions to the application | |
Application administrator | The corresponding user role in Intelligent Data Insight is system administrator | Complete the integration of Lark with the Intelligent Data Insight platform |
Enterprise organization administrator | The corresponding user role in Lark is Lark organization administrator | Responsible for granting permissions and approving application launch in the Lark admin console |
The overall steps are as follows:
The specific configuration methods will be introduced in detail in subsequent sections. For more questions related to Lark applications, you can also refer to the Help Center documentation on the Lark Developer Platform.
Before calling the Lark Open API, you need to enable the permissions required by DataWind for the application. In the developer console of the Lark Open Platform, click "Permission Management" to start configuring permissions for the application.
According to the integration scenarios between DataWind and Lark, this document divides permissions into the following five modules. Users can select permission modules based on the integration effects they want to achieve in DataWind, and follow the steps to enable the Lark permissions required by DataWind for the application. Among them, "Basic Permissions" are fundamental for DataWind and Larkntegration and are mandatory:
Usage scenarios for DataWind integration with Lark | Permission module | Required or optional |
|---|---|---|
| Required | |
| Optional | |
| Optional | |
| Optional | |
| Optional |
Permission type introduction:
Permission type | Description |
|---|---|
Application identity permissions |
|
User identity permissions |
|
Permission type | Configuration instructions |
|---|---|
Application identity permissions |
|
User identity permissions |
|
warning
By default, the visible range of the address book in data permissions follows the application's available range. If the address book range is not large enough, user IDs outside the address book range cannot be bound. It is recommended to refer to the diagram below and set the available range to "All employees" in "Version management and release".
Permission type | Configuration instructions |
|---|---|
User identity permissions |
|
Permission type | Configuration instructions |
|---|---|
App identity permissions |
|
Permission type | Configuration instructions |
|---|---|
App identity permissions |
|
Permission type | Configuration instructions |
|---|---|
App identity permissions |
|
Contact the Lark organization administrator and log in to the Lark Management Console to perform the following operations:
warning
The prerequisite for this step is that the app has already been published. If the app has not been published, refer to Publish Lark app to complete the publishing operation before proceeding with this step.
After the Lark organization administrator completes the configuration, the DataWind system administrator returns to the Lark Open Platform and clicks "Security Settings".
Add the following URL information in the "Redirect URL" input box, then click "Add" to save.
Product version | URL information to be added |
|---|---|
SaaS | https://console.volcengine.com/bi/datawind/# |
On-premises deployment | As follows, replace $HOST with the product's deployment domain name, without any path: |
warning
Log in to DataWind as a system administrator, click "System configuration" - "Office platform" - "Lark", enter the APP ID and APP Secret obtained from the Lark-side configuration, select "Enable", and click "Submit" to complete the basic configuration for Lark integration.
Use cases | Scenario introduction | Specific configuration operations |
|---|---|---|
Account binding | Supports binding users in Intelligent Data Insights (hereinafter referred to as DataWind) with Lark accounts, including both single and batch binding. | |
Send Lark messages | After the administrator completes the basic Lark integration setup (including permission configuration), subscription and alert rules can be set in DataWind to send charts, dashboards, and data anomaly notifications to Lark and Lark groups. | |
Connect to Lark data sources | DataWind supports uploading Lark spreadsheets and Lark multi-dimensional spreadsheets to create datasets, and supports scheduled offline data updates. | |
Mobile integration | A key part of the Lark integration is deploying the DataWind mobile application on the Lark mobile client, allowing users to access and open DataWind directly from the Lark Workbench. |
To authorize a dashboard or dataset for a Lark group, complete the above Lark-side configuration and DataWind-side configuration, then authorize the resources you have permission for in the dashboard or dataset. Follow the steps below to complete Lark group authorization for the account.
warning
The basic permission configuration and message sending permission configuration must be completed in the Lark-side settings.
The scope of this authorization is limited to the user who configures it; that is, the Lark group authorization set by a specific user is only valid for that user. Other users who require this functionality must complete the configuration using their own accounts.