Google Personal Oauth

Connecting and authorizing Google services for automation.

Create and configure a Google Cloud Platform project for Google Personal Oauth

Notes:

💡

You need to follow the procedure if you use an email address that ends with @gmail or @googlemail. To create a new project or work in the existing one, you need to have the serviceusage.services.enable permission. If you don’t have this permission, ask the Google Cloud Platform Project Owner or Project IAM Admin to grant it to you.

To connect to Latenode using your own client credentials, you can create and configure a project in the Google Cloud Platform.

 

Create a Google Cloud Platform project for Google Drive

To create a Google Cloud Platform project:

  1. Log in to the Google Cloud Platform using your Google credentials.
  1. On the welcome page, click Create or select a project > New project. If you already have a project, proceed to the step 5.
Notion image
  1. Enter a Project name and select the Location for your project.
  1. Click Create.
  1. In the top menu, check if your new project is selected in the Select a project dropdown. If not, select the project you just created.
Notion image
 

To enable the required API

  1. Open the left navigation menu and go to APIs & Services > Library.
  1. Search for the following required APIs: e.g Google Drive API.
  1. Click Google Drive API (or any other service API you need), then click Enable. If you see the Manage button instead of the Enable button, you can proceed to the next step: the API is already enabled.
Notion image

Configure your OAuth consent screen for Google Drive

To configure your OAuth consent screen:

1. In the left sidebar, click Google Auth Platform.

  1. Click Get Started.
  1. In the Overview section, under App information, enter Latenode as the app name and provide your Gmail address. Click Next.
  1. Under Audience, select External. Click Next.
    1. 💡

      For more information regarding user types, refer to Google's Exceptions to verification requirements documentation.

  1. Under Contact Information, enter your Gmail address. Click Next.
  1. Under Finish, agree to the Google User Data Policy.
  1. Click Continue > Create.
  1. Click Create OAuth Client.
  1. In the Branding section, under Authorized domains, add app.latenode.com. Click Save.
  1. Optional: In the Audience section, add your Gmail address on the Test users page, then click Save and continue if you want the project to remain in the Testing publishing status. Read the note below to learn more about the publishing status.
  1. In the Data Access section, click Add or remove scopes, add the following scopes (please find table below with service reference).

You can add scopes using:

  • A table with filters:
Notion image
  • A window to manually enter scopes:
Notion image
  1. Click Update.
  1. Click Save.
 

Create your Google OAuth client credentials

To create your client credentials:

1. In Google Auth Platform, click Clients. 2. Click + Create Client.

  1. In Google Auth Platform, click Clients.
  1. Click + Create Client.
  1. In the Application type dropdown, select Web application.
  1. Update the Name of your OAuth client. This will help you identify it in the platform.
  1. In the Authorized redirect URIs section, click + Add URI and enter the following redirect URI: https://app.latenode.com/redirected/index.html.
  1. Click Create.
  1. Click the OAuth 2.0 Client you created, copy your Client ID and Client secret values, and store them in a safe place.
Notion image

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

Establish the connection in Latenode

  1. Log in to your Latenode account, add a nodule to your scenario, and click Create an authorization → New authorization → Personal App Google <Service> Oauth 2.0
  1. Optional: In the Connection name field, enter a name for the connection.
  1. Enter your Client ID and Client secret that you created in the previous section.
  1. Click Sign in with Google.
  1. If prompted, authenticate your account, grant all requested permissions, and confirm access.

You have successfully established the connection. You can now edit your scenario and add more Google nodules.

 

Required scopes for your connection

Google Oauth
Scopes
Gmail
Google Calendar
Google Analytics
Google Ads
Google BigQuery
Google Cloud Dialogflow
Google Cloud Firestore
Google Cloud Speech-to-Text/Text-to-Speech
Google Cloud Translate
Google Contacts
Google Docs
Google Drive
Google Forms
Google Groups
Google Business Profile
Google Sheets
Google Slides
Google Tasks
 
Did this answer your question?
😞
😐
🤩