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.
Name your project unleash-integrations
and click Create
Enable API Services
Select your newly created project, then navigate to the API & Services section by visiting this link.
- 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
Configure the OAuth consent screen
- Create new internal screen
- Fill the required App Information
- Name - Unleash
- Support email
- Developer Contact Information
- 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