How to find your OAuth 2.0 client credentials in Gmail

This tutorial explains how to generate your OAuth 2.0 client credentials in Gmail

1. Create New Project

From the top left, click your projects, create a new project, and give it a name.

Create New Project 

2. Access API and Services Menu

Next, open the left menu and go to API and services.

Access API and Services Menu 

3. Select Your Project

Click your project to select your created project.

Select Your Project 

4. Choose Your Project

Select your project to continue configuring the Gmail connector.

Choose Your Project 

5. Navigate to Consent Screen

Go to the consent screen and select clients to manage OAuth settings.

Navigate to Consent Screen 

6. Create New OAuth Client

Next, create a new client for your application.

Create New OAuth Client 

7. Configure Web Application Client

For the application type, select web application, give it a name, and add the redirect URL.

Configure Web Application Client 

8. Access Redirect URLs

Click URIs 1 to add https://api.us-east-1.keragon.com/rest/auth/callback for your OAuth client.

Access Redirect URLs 

9. Create OAuth Client ID

Click Create to generate your OAuth client ID.

Create OAuth Client ID 

10. Generate Client Credentials

Create and download your client ID and client secret for authentication.

Generate Client Credentials 

11. Download Credentials JSON

Click Download JSON to save your client credentials file securely.

Download Credentials JSON 

12. Manage Data Access Scopes

Go to Data Access and click Add or Remove Scopes to configure permissions.

Manage Data Access Scopes 

13. Add Scopes Manually

Add Scopes Manually 

14. Save Scope Changes

Click Save to apply your data access scope changes.

Save Scope Changes

This tutorial guides you through configuring a Gmail connector by creating a project, setting up OAuth credentials, managing data access scopes, and finalizing the app setup in Google Cloud console.
Was this article helpful?
2 out of 2 found this helpful

Articles in this section