I. Intro
As an administrator, you need a Google Cloud project with proper authorization to start synchronizing data from Google Workspace to Lark.
II. Steps
If your organization already has a Google Cloud project available, jump to the "Enable Admin SDK API" section.
Create a project in Google Cloud
- Log in as an administrator to the Google Cloud console, and click APIs & Services in the navigation bar > Create project.
- 250px|700px|reset
- Enter a project name, select the organization and location, and click Create.
- 250px|700px|reset
The page will automatically navigate to the created project.
Enable Admin SDK API
- Click APIs & Services in the navigation bar > Library.
- Search and click Admin SDK API, then click ENABLE on the product details page.
250px|700px|reset
Get authorization credentials
- Click APIs & Services in the navigation bar > Credentials.
- Click CREATE CREDENTIALS > OAuth client ID.
- 250px|700px|reset
- If you haven't set up the permission request page, follow the guidance to set it up.
- Click CONFIGURE CONSENT SCREEN, then click Start on the opened page.
- 250px|700px|reset
- Set the app name and user support email, and click NEXT.
- 250px|700px|reset
- Select Internal for Audience and click NEXT.
- Fill in the contact email and click NEXT.
- Agree to the data policy and click CREATE.
- On the Create client page, select Web application for Application type and enter an app name.
- Click ADD URI under Authorized redirect URIs.
- 250px|700px|reset
- Get the redirect URL from the Lark Admin Console.
- Open the Lark Admin Console, go to Settings > Directory Sync, and click Add sync source.
- Click Google Workspace and copy the redirect URI.
- 250px|700px|reset
- Go back to the Create client page, paste the URL into the URIs 1 field, and click CREATE.
- Once the app is created, click the app name to go to its details, and copy Client ID and Client Secret, which you will use in Lark later.