> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-gemini-enterprise-agent-platform-integration/create-a-google-cloud-platform-connection-to-an-edge-or-collibra-cloud-site.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Create a Google Cloud Platform connection to a Collibra Cloud site

After you are [granted a Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md), you can create a connection to the Google Cloud Platform (GCP).

## Prerequisites

### In your Collibra environment

* You were granted a [Collibra Cloud site](https://docs.collibra.com/ai-command-center/administrators-set-up-ai-command-center/collibra-cloud-sites/about-collibra-cloud-sites.md).
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Manage connections and capabilities** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Edge integration engineer**.
* You have a [global role](https://docs.collibra.com/ai-command-center/terminology.md) that has the **Catalog** [global permission](https://docs.collibra.com/ai-command-center/terminology.md), for example, **Catalog Author**.

### In your Gemini Enterprise Agent Platform environment

* You have the models you want to ingest [evaluated](https://cloud.google.com/vertex-ai/docs/evaluation/introduction) and in your [Gemini Enterprise Agent Platform model registry](https://cloud.google.com/vertex-ai/docs/model-registry/introduction).
* You have the `Agent Platform Viewer` role with the following Gemini Enterprise Agent Platform permissions. For more information, go to the [Gemini Enterprise Agent Platform access control with IAM](https://cloud.google.com/vertex-ai/docs/general/access-control#aiplatform.viewer) documentation.
  * `roles/aiplatform.viewer` for reading AI models, reasoning agents, pipelines, and monitors, and RAG Engine corpora and files.
  * `roles/browser` for browsing projects.
  * `storage.objects.list` and `storage.objects.get` for reading files from Google Cloud Storage buckets if **ingestAiInputAndOutput** is enabled
  * `bigquery.tables.get` and `bigquery.tables.getData` for reading BigQuery table schema if **ingestAiInputAndOutput** is enabled and endpoints have BigQuery prediction logging configured.
  * If your Gemini Enterprise Agent Platform resources are in a different project than the service account that is configured for synchronization, you must also have the following permission: `resourcemanager.projects.get`.
  * `roles/discoveryengine.viewer`, plus the `discoveryengine.googleapis.com` API enabled in each project, for reading Discovery Engine data stores and their documents. This is a separate API and IAM namespace from `aiplatform.googleapis.com`, hence `roles/aiplatform.viewer` does not cover it. Discovery Engine is not regional, each project is scanned in the `global`, `us`, and `eu` locations regardless of the locations you configure. If a project does not have the API enabled or role granted, the synchronization completes and ingests everything else but reports an error for that project. You can enable the API or grant the role to clear it.
  * To ingest [operational trust metrics](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-gemini-enterprise-agent-platform-integration/integrated-gemini-enterprise-agent-platform-data.md), grant the following: - `roles/monitoring.viewer` on this connection's service account for reading Google Cloud Monitoring metrics, required to ingest pass/fail and token consumption metrics. This is a separate API/IAM namespace from aiplatform.googleapis.com, so the existing `roles/aiplatform.viewer` grant does not cover it. - `roles/monitoring.metricWriter` on the GCP identity that your agent runs as. This is required if you want to ingest token consumption metrics, since your own agent must write that custom metric before the integration can read it.

## Steps

{% stepper %}
{% step %}
Open the Integrations page.

1. On the main toolbar, click <i class="fa-grid-round">:grid-round:</i> → **Integrations**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Integrations** page opens.
2. Click **Add an integration**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Select Edge site** step opens.
3. In the **Edge site** list, select your Collibra Cloud site and click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The **Create connection** step opens.
   {% endstep %}

{% step %}
In the **Connection** list, select **GCP connection** to connect to Google Cloud Platform.
{% endstep %}

{% step %}
Enter the required information.

<table><thead><tr><th>Field</th><th>Description</th><th>Required</th></tr></thead><tbody><tr><td>Name</td><td>The name of the Collibra Cloud site connection for Google Cloud Platform.</td><td><i class="fa-check">:check:</i> Yes</td></tr><tr><td>Description</td><td>The description of the connection.</td><td><i class="fa-xmark">:xmark:</i> No</td></tr><tr><td>Connection type</td><td><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>Currently, only the Service Account authentication method is supported for this integration.</p></div><p>The authentication method for your GCP connection. Select <strong>Service Account</strong> to use a Google service account for authentication.</p></td><td><i class="fa-check">:check:</i> Yes</td></tr><tr><td>GCP Service Account / Workload Identity Federation (WIF)</td><td><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>Currently, only the Service Account authentication method is supported for this integration.</p></div><p>The account to connect to GCP.<br>Add the full content of the service account key JSON file.</p><pre><code>{
  "type": "service_account",
  "project_id": "PROJECT_ID",
  "private_key_id": "KEY_ID",
  "private_key": "-----BEGIN PRIVATE KEY-----\nPRIVATE_KEY\n-----END PRIVATE KEY-----\n",
  "client_email": "SERVICE_ACCOUNT_EMAIL",
  "client_id": "CLIENT_ID",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://accounts.google.com/o/oauth2/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/SERVICE_ACCOUNT_EMAIL"
}
</code></pre><p>Ensure the service account has the required permissions, as defined in the prerequisites. For more information about service account keys, go to the [Google documentation](https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating "External website for GCP").</p></td><td><i class="fa-check">:check:</i> Yes</td></tr><tr><td>Property</td><td>If your connection to GCP requires any additional parameters, click <strong>Add Property</strong>.</td><td><i class="fa-xmark">:xmark:</i> No</td></tr></tbody></table>
{% endstep %}

{% step %}
Click **Next**.\ <i class="fa-chevrons-right">:chevrons-right:</i> The connection is added to the Collibra Cloud site.
{% endstep %}
{% endstepper %}

## What's next

You can now [add the Gemini Enterprise Agent Platform capability to a Collibra Cloud site](https://docs.collibra.com/ai-command-center/ai-producers-working-with-ai-models-and-discovering-data/ai-integrations/about-the-gemini-enterprise-agent-platform-integration/add-the-gemini-enterprise-agent-platform-capability.md).
