# Google Service Account

These instructions apply to the current Admin Console.

## Description

The **Google Service Account** connection type (`google-service-account`) authenticates to Google APIs using a service account key. Contextual uses the key to obtain access tokens for the configured scope.

## Required Information

After you select this type in **Connection Type**, the console asks for the following fields. Every connection also has a **Connection ID**, **Connection Name**, and **Connection Type**.

| **Field**    | **Required** | **Description**                                                                           |
|--------------|--------------|-------------------------------------------------------------------------------------------|
| **Endpoint** | Yes          | The base URL of the Google API.                                                           |
| **Scope**    | Yes          | The OAuth scope to request, for example `https://www.googleapis.com/auth/cloud-platform`. |
| **Key**      | Yes          | The full service account key JSON. Stored as a secret.                                    |

## Usage

[Vertex AI and Vertex Anthropic AI Connections](https://docs.contextual.io/connect/connections/types-of-connections/ai-connections.md#vertex-ai) use this connection type.

When calling an API through a Contextual HTTP node, configure additional request headers in the node’s **Headers** settings.
