> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tier4ai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Alert Center

> Integrate with Google Alert Center API for Google Workspace Identity Alerts

To integrate with Google Alert Center you will need to complete the following tasks:

1. Enable to Google Admin SDK
2. Create a Google Service Account
3. Create an API Key
4. Add the Client ID with OAuth scopes
5. Add the integration in the Tier4 portal

## 1. Enable to the Google Admin SDK

The Tier4 integration uses the Google Admin SDK API to connect to your Google Workspace. Before you configure the connection, you must enable the Google Admin SDK API. To enable the Google Admin SDK API:

1. Go to the Google Cloud console at [https://console.cloud.google.com/](https://console.cloud.google.com/) and log in with a Super Admin account.
2. From the console menu, select APIs & Services > Library.
3. In the search box, search for `admin sdk`.
4. From the search results, select **Admin SDK API**.
5. Click Enable.
6. From the **APIs & Services** menu, select **Library**.
7. In the search box, search for `alert center api`.
8. From the search results, select **Alert Center API**.
9. Click **Enable**

## 2. Create a Google Service Account

For Tier4 to authenticate to your Google Workspace environment, you must create a Google Service Account. To create a Google Service Account:

1. Go to the Google Cloud console at [https://console.cloud.google.com/](https://console.cloud.google.com/) and log in with a Super Admin account.
2. From the console menu, select **IAM & Admin > Service Accounts**.
3. Click **Create Service Account**
4. Enter a **Name** and **Description** for the account. Click **Create and Continue**.
5. From the **Permissions** section, assign the **Service Account Token Creator** role. Click **Done**.
6. From the **Email** column, select the account.
7. From the **Service Account Details** page, click the new account.
8. Copy the **Oauth2 Client ID** to use later in these instructions.

## 3. Create an API Key

For Tier4 to authenticate to your Google Workspace environment, you must also create an API key. To create an API key:

1. Go to the Google Cloud console at [https://console.cloud.google.com/](https://console.cloud.google.com/) and log in with a Super Admin account.
2. From the console menu, select **IAM & Admin > Service Accounts**.
3. Next to the service account you created, click the ellipsis.
4. Select **Manage Keys**.
5. In the **Keys** tab, from the **Add Key** menu, select **Create New Key**.
6. Select **JSON**.
7. Click **Create**. *Your computer downloads the private key JSON file. Keep this file in a secure location in your local environment.*
8. Click **Close**.

## 4. Add the Client ID with OAuth Scopes

To add the client ID with OAuth Scopes:

1. Go to the Google Admin console at [https://admin.google.com/ac/home](https://admin.google.com/ac/home) and log in with a Super Admin account.
2. From the console menu, select **Security > Access and Data Control > API Controls > Manage Domain-wide Delegation**.
3. Click **Add New**.
4. Enter the **Oauth2 Client ID** you copied from the Create a Google Service Account section.
5. Enter the **OAuth Scope** for the connector: `https://www.googleapis.com/auth/apps.alerts`
6. Click **Authorize**.

## 5. Add the integration in the Tier4 portal

To add the integration:

1. Navigate to the **Integrations** page from the navigation bar.
2. Click **Connect** on the **Google Alert Center** integration box.
3. Enter the *Google Admin Email*\*. You must use a Super Admin user email for this step. Do not use the service account email you created.
4. In the **JSON File Content** text box, copy and paste the contents of the JSON file you saved in the Create an API Key step.
5. Click **Continue** to create the integration.
