Create 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.
![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/c5fd189f-8ff7-4f5f-bec6-79ffa936d86d/105f4088-9938-4ebd-8de2-697fc69fe18f/image.png)
Name your project unleash-integrations
and click Create
![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/c5fd189f-8ff7-4f5f-bec6-79ffa936d86d/c4efaae5-13e3-4ca3-995d-6c1fcc1b23ef/image.png)
Enable API Services
Select your newly created project, then navigate to the API & Services section by visiting this link.
![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/c5fd189f-8ff7-4f5f-bec6-79ffa936d86d/8c4cc952-916a-4d99-b6ab-b25bdbc6ec7c/image.png)
- For Google Drive Enable:
- Google Drive API (https://console.cloud.google.com/apis/api/drive.googleapis.com)
- Admin SDK API (https://console.cloud.google.com/apis/api/admin.googleapis.com)
- People API (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)
- For Google Calendar Enable:
- Google Calendar API https://console.cloud.google.com/apis/api/calendar-json.googleapis.com
Your Enabled APIs screen should look like this
![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/c5fd189f-8ff7-4f5f-bec6-79ffa936d86d/2c200758-f62a-41c0-85e9-f6dd25e68078/image.png)
Configure the OAuth consent screen
- Create new internal screen
![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/c5fd189f-8ff7-4f5f-bec6-79ffa936d86d/891da390-34fa-4a93-8c57-cfce2e226c9e/image.png)
- Fill the required App Information
- Name - Unleash
- Support email
- Developer Contact Information
![image.png](https://prod-files-secure.s3.us-west-2.amazonaws.com/c5fd189f-8ff7-4f5f-bec6-79ffa936d86d/e660a44f-5870-4507-8658-ea1702fc7368/image.png)
- Configure the relevant scopes
- For all applications add -
- openid
- ./auth/userinfo.email
- /auth/userinfo.profile
- For Google Drive add -
- /auth/admin.directory.user.readonly
- /auth/admin.directory.domain.readonly
- /auth/admin.directory.group.readonly
- /auth/contacts.readonly
- /auth/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