--- title: "Google OAuth App" slug: "google-oauth-app" updated: 2025-09-09T09:57:18Z published: 2025-09-09T09:57:18Z canonical: "help.unleash.so/google-oauth-app" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.unleash.so/llms.txt > Use this file to discover all available pages before exploring further. # Google OAuth App ## Connecting Google OAuth App ### Create a new project To add a Google OAuth app, you will need to create a dedicated project for Unleash in your Google Cloud Console. You can do this by visiting the following URL: [https://console.cloud.google.com/projectcreate](https://console.cloud.google.com/projectcreate). ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726144851773.png) Name your project `unleash-integrations` and click **Create.** ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726144907238.png) ### Enable API services Select your newly created project, then navigate to the **API & Services** section by visiting [this link](https://console.cloud.google.com/apis/dashboard). ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726145320705.png) **For Google Drive Enable:** - Google Drive API ([https://console.cloud.google.com/apis/api/drive.googleapis.com](https://console.cloud.google.com/apis/api/drive.googleapis.com)) - Admin SDK API ([https://console.cloud.google.com/apis/api/admin.googleapis.com](https://console.cloud.google.com/apis/api/admin.googleapis.com)) - People API ([https://console.cloud.google.com/apis/api/people.googleapis.com](https://console.cloud.google.com/apis/api/people.googleapis.com)) **For Gmail Enable:** - Gmail API ([https://console.cloud.google.com/apis/api/gmail.googleapis.com](https://console.cloud.google.com/apis/api/gmail.googleapis.com)) **For Google Calendar Enable:** - Google Calendar API [https://console.cloud.google.com/apis/api/calendar-json.googleapis.com](https://console.cloud.google.com/apis/api/calendar-json.googleapis.com) **For Google People Directoy Enable:** - People API ([https://console.cloud.google.com/apis/api/people.googleapis.com](https://console.cloud.google.com/apis/api/people.googleapis.com)) Your Enabled APIs screen should look like this: ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image (21).png) ### Configure the OAuth Consent Screen Create a new internal screen. ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726145530971.png) Fill in the required App Information: - Name - **Unleash** - Support email - Developer Contact Information ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726145588745.png) Configure the relevant scopes. **For all applications, add:** - openid - /auth/[userinfo.email](http://userinfo.email) - /auth/userinfo.profile **For Google Drive, add:** - /auth/[admin.directory](http://admin.directory).user.readonly - /auth/[admin.directory](http://admin.directory).domain.readonly - /auth/[admin.directory.group](http://admin.directory.group).readonly - /auth/contacts.readonly - /auth/[drive.photos](http://drive.photos).readonly - /auth/drive.readonly - /auth/drive.metadata.readonly - /auth/drive.activity.readonly **For Gmail add:** - auth/gmail.readonly **For Google Calendar, add** - /auth/calendar.readonly **For Google People Directory, add** - /auth/contacts.readonly - /auth/directory.readonly ### Creating Credentials Create a new OAuth Credential at [https://console.cloud.google.com/apis/credentials/oauthclient](https://console.cloud.google.com/apis/credentials/oauthclient). ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726148116172.png) Select the app type as **Web Application.** ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726148197441.png) Name your app **Unleash** and add the **Callback URL** provided by your Unleash representative. ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image (26).png) Copy your newly created credentials (Client ID and Client Secret), store them securely, and share them with your Unleash representative. ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726148321824.png) ### Link Provisioning To support link provisioning in your environment, you must also generate **Service Account Credentials**. ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726562740967.png) Name your app and create the service account. ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image (32).png) Click it ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726562859516.png) Create a new JSON key pair ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image-1726562909500.png) Download the JSON file and share it with your Unleash representative. ![](https://cdn.document360.io/9c439416-8f37-43ae-8ba7-d5c31de26a65/Images/Documentation/image (37).png)