# Restricted scope when connecting e-mail, help

**URL:** <https://community.make.com/t/restricted-scope-when-connecting-e-mail-help/54736>\
**Category:** Questions\
**Tags:** connections, api\
**Created:** [September 11, 2024, 10:42pm UTC](https://community.make.com/t/restricted-scope-when-connecting-e-mail-help/54736 "2024-09-11T22:42:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dragoljub\_Boshevski](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@Dragoljub\_Boshevski](https://community.make.com/u/Dragoljub_Boshevski)\
**Post date:** [September 11, 2024, 10:42pm UTC](https://community.make.com/t/restricted-scope-when-connecting-e-mail-help/54736/1 "2024-09-11T22:42:46Z")

</div>

Hi Make people! I am a first timer and I need help on how to connect my gmail account to do a specific task. I would like if its possible not to pay for Google Cloud. Below is the error message I get:

“It is not possible to use restricted scopes with customer @gmail.com accounts. For more information on how to connect restricted scopes visit our documentation.”

Thanks!

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [September 12, 2024, 6:55am UTC](https://community.make.com/t/restricted-scope-when-connecting-e-mail-help/54736/2 "2024-09-12T06:55:53Z")

</div>

Follow this [main guide on how to set up a custom OAuth 2.0 custom app in Make](https://www.make.com/en/help/apps/it-and-development/g-suite-admin#connecting-to-google-services-using-oauth2).

Provided below are additional supplementary instructions in case the above isn’t clear enough.

* * *

# Enable APIs

## 1. Enable the relevant APIs that you want to use

**Search for the relevant Google API here:** [https://console.cloud.google.com/apis/library](https://console.cloud.google.com/apis/library)

- Go to each API page that you want to use, end click “Enable”

- Usually you’ll want to enable at least [Drive](https://console.cloud.google.com/apis/api/drive.googleapis.com) (includes Docs/Sheets) and [Gmail](https://console.cloud.google.com/apis/api/gmail.googleapis.com).

* * *

# OAuth Client

**Direct Link:** [https://console.cloud.google.com/apis/credentials](https://console.cloud.google.com/apis/credentials)

## 2a. Create “OAuth client ID” Credentials

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/c/0c29e0e6bb6d6b4b62461a894fb490c1e06dd048.png)

## 2b. Insert all the Google Redirect URIs for your app

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2807e342c37d019fedbe8847450f96a19c696ffe.png)

### Google Redirect URIs

Here are some commonly-needed redirect URIs you need for your [Google Cloud Console](https://console.cloud.google.com/) OAuth app. If you set these up, you can reuse the same GCP app for other Google apps and modules on Make.

```plaintext
https://www.make.com/oauth/cb/google
https://www.make.com/oauth/cb/google-custom
https://www.make.com/oauth/cb/google-restricted
https://www.make.com/oauth/cb/google-cloud-speech
https://www.make.com/oauth/cb/youtube
https://www.make.com/oauth/cb/oauth2
https://www.integromat.com/oauth/cb/oauth2

```

**Note:** Once you’ve set these up, you can use/reuse the same Make connection for all the supported Google apps & modules on Make - you’ll only have to enable the APIs for your custom app.

* * *

# OAuth consent screen

**Direct Link:** [https://console.cloud.google.com/apis/credentials/consent/edit](https://console.cloud.google.com/apis/credentials/consent/edit)

## 3a. Insert Two Authorised Domains

- Insert `make.com` and `integromat.com`

- Fill in other required fields

- Click “Save and Continue”.

## 3b. Add All Scopes

- Click “Add or Remove Scopes”

- Select 100 “Rows per page”, for each page, check all the rows, OR

- Manually type in the scopes you need

- Click “Update” at the bottom

## 3c. Step through and go to dashboard

At the last step/page, click “ **BACK TO DASHBOARD** ” instead of “Prepare for Verification”  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/c/0c8fe7b5be5b0fec74f940524cefe93259806a7c.png)

## 3d. Publish your GCP OAuth2 app

You will need to set your OAuth application to “Production”, otherwise the credentials expire very frequently.

- To do this, go back to “[OAuth consent screen](https://console.cloud.google.com/apis/credentials/consent)”

- Then click the “ **PUBLISH APP** ” button

- Then click the “ **CONFIRM** ” button

* * *

# Create New Connection (HTTP, or respective Google module)

You can find the Client ID and Client Secret in the OAuth2 app you created in GCP, on the right-hand side of where you inserted the callback URLs in step 2:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/e/aeb4ff9ca8e4f5ddf3badd144b4f5a4fb19f27ef.png)

## 4a. Specific Google module (Sheets, Docs, Drive, Gmail, etc.)

Insert the GCP app client ID and secret here **BEFORE** clicking “Sign in”

_(Gmail example)_

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/a/caa6efb63fb50b12399549ee627da8bb29189a13.png)

**OR,**

## 4b. HTTP OAuth 2.0 Request module

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/9/89a1c01d161c36bc11d1e7460256be7e02258d18.png)

You need a “Authorize Parameters” key of `redirect_uri` with the above Make OAuth2 callback URL.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/3/43df2cd92abedfda53a23fc12991dbfb13eff1be.png)

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [December 11, 2024, 11:20am UTC](https://community.make.com/t/restricted-scope-when-connecting-e-mail-help/54736/3 "2024-12-11T11:20:30Z")

</div>


