DEV Community

Cover image for How to connect Google products with Make (Integromat)
Abiodun Eniola
Abiodun Eniola

Posted on

How to connect Google products with Make (Integromat)

This article will show you how to create your own project in Google Cloud Platform for free and a custom OAuth client. This is useful for connecting Google products, like Google Drive or Gmail, to Make.

Let's get started
Make sure your Gmail account is signed in on your browser

Create a Project

Visit https://console.cloud.google.com/

Note: Do not click "start for free" or "try for free"


Accept the terms of service and click Agree and continue

Click Select a project
Click New Project

Enter a Project name and create

Enable APIs

Open the left navigation menu and go to APIs & Services > Library.
Search for the Google Drive, click on it, and then enable it.
You can also search for Gmail and do the same.

Configure your OAuth consent screen

In the left sidebar, click OAuth consent screen.
Click Get Started.
Under App information, set the app name (You can use Make) and provide your Gmail address. Click Next.
Under Audience, select External.
fill all other information and click create

In the Data Access section, click Add or remove scopes, add any desired scopes (in this case, I selected all scopes)
Select all and click update, and then save

In the left sidebar, select Audience, and scroll down to Test users.
Enter your Gmail address (same as the Google Cloud account) and save

Go back to Branding, scroll down to the add domain section
Add make.com and integromat.com and then Save.

Create Credentials

Click Clients.
Click Create Client.

In the Application type dropdown, select Web application.
Set the Name of your OAuth client.

In the Authorized redirect URIs section, click Add URI and enter the following redirect URI.

https://www.make.com/oauth/cb/google-restricted
https://www.make.com/oauth/cb/oauth2
https://www.make.com/oauth/cb/google
https://www.make.com/oauth/cb/google-custom
https://www.make.com/oauth/cb/gooogle-cloud-speech
https://www.integromat.com/oauth/cb/oauth2
https://www.integromat.com/oauth/cb/google
https://www.integromat.com/oauth/cb/google-custom
https://www.integromat.com/oauth/cb/google-restricted
https://www.integromat.com/oauth/cb/gooogle-cloud-speech
Enter fullscreen mode Exit fullscreen mode

Click Create.
Click the OAuth 2.0 Client you created, copy your Client ID and Client secret values, and store them in a safe place.


You will use these values in the Client ID and Client Secret fields in Make.

Establish the connection in Make

Head over to make and add a Gmail module
Toggle the advanced settings and enter Client ID and Client secret values in the fields, and click Sign in with Google

If prompted, authenticate your account and confirm access.

Now the connection has been established.
You can now edit your Make and add more modules.

Top comments (1)

Collapse
 
obanikoro_anuoluwapo_6eea profile image
Obanikoro Anuoluwapo

thank you so much for this article.
it was really helpful!