hey everyone welcome to this tutorial on how to connect your google account with integromat so you can use gmail taking in accounting new restrictions that google has put in place on how users can interact with their api please note that this tutorial applies to you if you're an gmail. com or an ad google mail. com user if you're a g-suite account user you should have no problem connecting your account very easily through the integromat gmail app in order to make this connection possible you will first have to create a custom oauth client which might sound quite complex and technical but don't worry this video will guide you step by step through the process the first step is to open a new browser window and search for the google cloud platform console alternatively you can go directly to this url console.
cloud. google. com once the page loads you will first be asked to log in with your google account make sure that this is the google account you want to connect with integromat once you have successfully logged in you will be redirected to this page if it's your first time here you will be asked to select your country and agree to google's terms and conditions what you have to do next is open the sidebar navigation menu hover over the apis and services option and select dashboard the next step is to create a new project simply click on the create project button here please note that if you already have existing projects you might not see the create project button here you will first have to click on this drop down menu and then click on the new project button here when creating a new project you will be first asked to enter the project name which can be anything you like for example integromat google integration you can then click on create to create this project great the next step is to enable the gmail api under this project this is what will give permission to integromat to control your gmail account click on enable apis and services and then here you can search for the api you want to enable in this case that will be the gmail api click enable to enable the selected api as you can see the gmail api is now added to this project you now have to open the sidebar navigation menu and hover over apis and services this time you need to select the oauth consent screen option to proceed on this page click external great this is the screen where you can define the permissions that integromat will have when using this api with your gmail account let's start by entering integromat in the application name field for user support email select your email from the list next scroll down to the authorized domain section and click on add domain enter integroma.
com for developer contact information simply enter your email since this is your personal project great now let's add some scopes to specify the permissions integromat will have click add scope in order to set the permissions now it's time to select the different actions you would like integroma to perform using your gmail account first let's filter this table so it only displays the gmail api scopes now select the following scopes mail. google. com gmail.
modify gmail. compose gmail. read only gmail.
metadata gmail. insert gmail. send gmail.
label with this list of options selected you will be able to use all the gmail account functions inside your integromat scenarios and create some really powerful automations click update to proceed now click on save and continue in this section you simply need to click add users and enter your gmail once you do that click add click save and continue now scroll all the way to the bottom of this page and click back to dashboard great you're almost there now let's set up some credentials click on the credentials option on the sidebar and then click create credentials followed by selecting the oauth client id option now let's fill out this short form application type will be web application for name let's enter integromat finally scroll down to the field with title authorized redirect uris and click add uri in this field you need to type the following uri https semicolon forward slash forward slash www. integramod.