Key Features

Google Credential Guide

Google Credential Guide

Google Credential Guide

To use Google nodes such as Gmail, Google Sheets, and Google Calendar, you must first issue Google credentials and register them in Agentria.

This process requires logging in with your Google account.


Step 1: Access Google Cloud Console

Open the Google Cloud Console Auth Platform in your browser.

If this is your first time accessing the console, click Create Project to set up a new project.


Step 2: Create OAuth

OAuth is an open standard protocol for user authentication and authorization on the internet.

To issue Google credentials, you must go through the OAuth flow.

Click Get Started to configure your project.

Fill in the required information and click Create. Once created, your OAuth setup is complete.


Step 3: Generate an OAuth Client ID

In the sidebar, select the Clients tab.

At the top of the page, click +Create Client to generate a new Client ID.

For use with Agentria, set the application type to Web application.


Step 4: Add Credentials in Agentria

In your Agentria project page, open the sidebar and select Credentials.

Click the +Add Credential button at the top right to create new credentials.

Select the appropriate Google template.

Credentials must be created separately for each Google template.

Copy the Callback URL from the SET 1 area—you will use it in Step 5.

You cannot save the credential popup yet.


Step 5: Register the Callback URL


Back in the Google Cloud Console, where you were creating the Client ID, click +Add URL to open the redirect URL input field.

Paste the Callback URL you copied in Step 4 into the input box.

Save your changes to generate the OAuth client.


Step 6: Store Your Secret (Important)

Be sure to safely record the Client ID and Client Secret shown in the popup.

You can also click Download JSON to store this information as a file.


Step 7: Add Data Access Scopes

In the sidebar, select the Data Access tab.

Click Add or Remove Scopes. Then follow the link to the Google API Library.

Use the search bar to find the APIs you need.

For example:

  • Gmail API

  • Google Sheets API

Select the API you want and click Enable.


Step 8: Complete Credential Setup

Return to the Agentria credential popup.

Enter the Client ID and Client Secret you recorded in Step 6.

Click Google Connect and link your account.

Once you grant access, a Refresh Token will be generated automatically.

Add additional SETs if necessary.

Click SAVE at the bottom right to finish credential setup.


Step 9: Add a Google Template Node

On the canvas, add the Google template node.

The template must match the credential you registered.

For example, if you created credentials using the Gmail template, they can only be used in a Gmail node.


Step 10: Register Credentials in the Node


Double-click the node to open the Node Editor.

Select the registered credential.

You can now start using Google nodes in Agentria.


Next Steps


Client information can be reused when setting up Google credentials again.

If your access expires after six months of inactivity, simply re-authorize access and complete authentication again.