Datalyst.ai supports integration with Lark Base applications by creating a development app and using a callback URL to receive the authorization code. Below is a detailed guide on how to connect your Lark data source to Datalyst.ai.
Step 1: Create a Dev App on Lark
Description: Start by creating a new development app on the Lark platform and obtain necessary information such as Client ID and Client Secret.
How to Do It:
- Log in to your Lark account and access the Developer Console or equivalent.
- Create a new development app (dev app) and make note of the provided Client ID and Client Secret.
Step 2: Configure Callback URL
Description: Set up a callback URL so that Lark can send back the authorization code after successful user authentication.
How to Do It:
- Set the callback URL of your Lark development app to
https://app.datalyst.ai/rest/connections/oauth2-credential/callback
.
Step 3: Set Up Connection on Datalyst.ai
Description: Proceed to set up the connection from Datalyst.ai to your Lark development app using the Client ID and Client Secret.
How to Do It:
- Log in to Datalyst.ai and navigate to the "Data > Data Sources" section.
- Click on "Add Data Source" and select "Lark".
- Enter the Client ID and Client Secret of your Lark development app.
- Provide any other necessary information and save the configuration.
Example Configuration
Example: Connecting to Lark
- Step 1: Create a Lark development app and obtain Client ID and Client Secret.
- Step 2: Set the callback URL to
https://app.datalyst.ai/rest/connections/oauth2-credential/callback
.
- Step 3: Enter Client ID and Client Secret in Datalyst.ai.
- Step 4: Save the configuration.
Benefits of Connecting Lark with Datalyst.ai
- Comprehensive Analysis: Utilize Datalyst.ai's analytical tools to gain insights from your Lark application data.
- Secure Integration: Use OAuth2 authentication mechanism to ensure secure connection with Lark.
- Flexible Integration: Easily manage and analyze data from Lark alongside other connected data sources.
Connecting your Lark data source to Datalyst.ai enables you to leverage insights from your internal application to make smarter and more effective decisions.