AI Assistant
Help Center AI Assistant is now available
Got questions about Lark? Use our AI chat to find the answers.
00:00
Click and hold to drag
Got It
Try Now

Admin | Obtain Google Cloud authorization credentials

2 min read
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
  1. Log in as an administrator to the Google Cloud console, and click APIs & Services in the navigation bar > Create project.
  • 250px|700px|reset
  1. 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
  1. Click APIs & Services in the navigation bar > Library.
  1. Search and click Admin SDK API, then click ENABLE on the product details page.
250px|700px|reset
Get authorization credentials
  1. Click APIs & Services in the navigation bar > Credentials.
  1. Click CREATE CREDENTIALS > OAuth client ID.
  • 250px|700px|reset
  1. If you haven't set up the permission request page, follow the guidance to set it up.
  1. Click CONFIGURE CONSENT SCREEN, then click Start on the opened page.
  • 250px|700px|reset
  1. Set the app name and user support email, and click NEXT.
  • 250px|700px|reset
  1. Select Internal for Audience and click NEXT.
  1. Fill in the contact email and click NEXT.
  1. Agree to the data policy and click CREATE.
  1. On the Create client page, select Web application for Application type and enter an app name.
  1. Click ADD URI under Authorized redirect URIs.
  • 250px|700px|reset
  1. Get the redirect URL from the Lark Admin Console.
  1. Open the Lark Admin Console, go to Settings > Directory Sync, and click Add sync source.
  1. Click Google Workspace and copy the redirect URI.
  • 250px|700px|reset
  1. Go back to the Create client page, paste the URL into the URIs 1 field, and click CREATE.
  1. 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.
Written by: Lark Help Center
Updated on 2025-02-27
How satisfied are you with this content?
Thank you for your feedback!
Need more help? Please contact Support.
0
rangeDom