# Google SSO

## Integrating Google as an Identity Provider

#### Prerequisites

Before you begin:

* You have access to the **Google Cloud Console** with permissions to create OAuth credentials.
* Request the **ZITADEL Callback URL** for your instance from Blockbrain

#### 1. Google Configuration[​](https://zitadel.com/docs/guides/integrate/identity-providers/google#google-configuration) <a href="#google-configuration" id="google-configuration"></a>

**Register a new client**[**​**](https://zitadel.com/docs/guides/integrate/identity-providers/google#register-a-new-client)

1. Go to the Google Cloud Platform and choose your project: <https://console.cloud.google.com/apis/credentials>
2. Choose or create a project.
3. Click on "+ CREATE CREDENTIALS" and choose "OAuth client ID".
4. Choose "Web application" as application type and give a name.
5. Set a name (e.g., `Blockbrain SSO Client`).
6. Paste the **ZITADEL Callback URL** you copied before to the Authorised redirect URIs.

<figure><img src="/files/9bs5KGd9bdAQQbA61xg3" alt=""><figcaption></figcaption></figure>

#### 2. Finalize the Configuration in ZITADEL <a href="#client-id-and-secret" id="client-id-and-secret"></a>

**Client ID and Key (Secret)**[**​**](https://zitadel.com/docs/guides/integrate/identity-providers/google#client-id-and-secret)

After you've created the project, you will receive **Client ID** and **Client Key (Secret)**.&#x20;

> **Important**: For security reasons, do not send your Client Secret or Client ID to Blockbrain via email or chat.
>
> You can configure Google as your identity Provider directly in your Blockbrain account admin interface.

**To complete the setup**:

1. Log in to your Blockbrain admin interface with your admin account
2. Navigate to **Admin** > **Integrations** > **Google Identity Providers**
3. Click **Add connection**
4. Enter your **Client ID** and **Client Secret** from your Google Cloud project
5. Save your changes by clicking **Connect**

If you encounter any issues, please contact Blockbrain support.

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

<figure><img src="/files/1SaSdPpdXIImMgOuJ0lT" alt=""><figcaption></figcaption></figure>

#### 3. Logging in <a href="#zitadel-configuration" id="zitadel-configuration"></a>

After successful completion of the setup your contact at Blockbrain will let you know that Google SSO is now available to users of your instance. \
Just click the "Google"-Button and enter your credentials to sign on.<br>

<figure><img src="/files/f6fRiaPvvWnHxw24EwvK" alt="" width="375"><figcaption></figcaption></figure>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.en.theblockbrain.ai/for-admins/google-sso.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
