> For the complete documentation index, see [llms.txt](https://imbrace.gitbook.io/imbrace-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://imbrace.gitbook.io/imbrace-documentation/integrations/google.md).

# Google

Google provides a standardized way to access their APIs through the Google Cloud Console. This can be done using OAuth (for per-user access) or service accounts (for per-service access). Once configured, you can use your credentials to authenticate the following nodes:

## Google compatible nodes

| Node                          | OAuth                                 | Service Account                       |
| ----------------------------- | ------------------------------------- | ------------------------------------- |
| Gmail                         | <mark style="color:green;">Yes</mark> | <mark style="color:green;">Yes</mark> |
| Google Analytics              | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google BigQuery               | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Books                  | <mark style="color:green;">Yes</mark> | <mark style="color:green;">Yes</mark> |
| Google Calendar               | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Chat                   | <mark style="color:red;">No</mark>    | <mark style="color:green;">Yes</mark> |
| Google Cloud Firestore        | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Cloud Natural Language | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Cloud Runtime Database | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Contacts               | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Docs                   | <mark style="color:green;">Yes</mark> | <mark style="color:green;">Yes</mark> |
| Google Drive                  | <mark style="color:green;">Yes</mark> | <mark style="color:green;">Yes</mark> |
| Google Perspective            | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Sheets                 | <mark style="color:green;">Yes</mark> | <mark style="color:green;">Yes</mark> |
| Google Slides                 | <mark style="color:green;">Yes</mark> | <mark style="color:green;">Yes</mark> |
| Google Tasks                  | <mark style="color:green;">Yes</mark> | <mark style="color:red;">No</mark>    |
| Google Translate              | <mark style="color:green;">Yes</mark> | <mark style="color:green;">Yes</mark> |
| Google Vertex AI              | <mark style="color:red;">No</mark>    | \[TBD]                                |

## Account integration using OAuth <a href="#jho6tmsmfpcy" id="jho6tmsmfpcy"></a>

To begin, you will need:

* A Google account.
* A Google Cloud Platform project for use with iMBrace.

**STEP 1:** Go to [Google Cloud Console](https://console.cloud.google.com/).

**STEP 2:** Navigate to the correct project in the top-left corner. Create a new project if necessary. This can be done by navigating to **\[Projects]** and selecting **\[New Project]**.

**STEP 3:** In the left side-bar, go to **\[APIs & Services] > \[Credentials]**.

![](/files/8zCPVVn2loFkF35fv4Lm)

**STEP 4:** Go to **\[Create Credentials] > \[OAuth client ID]**.

![](/files/FEyXSkOLGHySjQUDXahd)

**STEP 5:** If you are creating an OAuth ID for the first time, you will need to configure a **consent screen** as well. For more detailed information, see the following [Google help page](https://support.google.com/cloud/answer/10311615?hl=en\&ref_topic=3473162). \
\
Note: Remember to **Publish App** to **In production.**

* Enter **App information**&#x20;

![](/files/3IhnHsO2vMfPNF0mSagi)

* Enter **Authorized domains:** "<mark style="color:blue;">**imbrace.co**</mark>" and **Developer contact information**

<figure><img src="/files/q3eITQgGNQBHoICSeDZB" alt="" width="563"><figcaption></figcaption></figure>

* **PUBLISH APP** to **In Production**

<figure><img src="/files/HVB14uIm9ZiRVNUH4UQN" alt="" width="563"><figcaption></figcaption></figure>

**STEP 6:** In the left side-bar, go to **Enabled APIs & services** and click **+ ENABLE APIS AND SERVICES** to enable the Google services you need.

<figure><img src="/files/spPKx2SdOLiuWZN9uDa6" alt=""><figcaption></figcaption></figure>

Search the relevant APIs to be used (For example, Google Docs API, Google Sheets, etc.) and click **Enable**.

<div><figure><img src="/files/iPbpFqAxSG9TWzAAuXkB" alt=""><figcaption></figcaption></figure> <figure><img src="/files/2yBzyam9y6x5DMGVN9QU" alt=""><figcaption></figcaption></figure></div>

**STEP 7:** In iMBrace, create a new credential and select a integration (Google Docs OAuth2 API, Google Sheets OAuth2 Api, etc.), copy the **OAuth Redirect URL**.

<figure><img src="/files/3SUbHaesRJKS9L7WEK3x" alt=""><figcaption></figcaption></figure>

**STEP 8:** In Google Cloud Console, go to Credentials > +CREATE CREDENTIAL > OAuth client ID, enter the information and paste the **OAuth Redirect URL** under **Authorized redirect URIs** to create an OAuth client ID.

<figure><img src="/files/NuhE76mgcEyMipx1J3lU" alt=""><figcaption></figcaption></figure>

**STEP 9:** You will then be presented with the **client ID** and **client secret** for the OAuth client.

<figure><img src="/files/zFxjn5EVMvpT3f1nhiBd" alt=""><figcaption></figcaption></figure>

**STEP 10:** In iMBrace, paste the **Client ID** and **Client secret** into the corresponding fields. Then click **CONNECT** to complete the authentication.

<figure><img src="/files/NN09CrWc3ASquUfJrIar" alt=""><figcaption></figcaption></figure>

Follow the pop-up window to login to Google account and complete the authentication.

<figure><img src="/files/igNHrdnIFj7LG6lMWVTK" alt=""><figcaption></figcaption></figure>

**DONE:** You can see the connected message, the credential can then be used for Google integrations..

<figure><img src="/files/CQo8HWX1eZPdAiycN9Z7" alt=""><figcaption></figcaption></figure>
