> This page is for Data Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.eon.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.eon.io/_mcp/server.

# GCP: Connect Source Projects

This article explains how to connect GCP projects to Eon.
You can connect as many source projects as you need.

## Connect a source project

You'll start this procedure in the

Source accounts > GCP projects

page by clicking **New Connection** and selecting **GCP**.

#### Before you start

Before you connect your source account, make sure:

* gcloud CLI is installed and you can log in to the relevant GCP project under an identity that can manage IAM roles and service accounts.

* You understand the permissions Eon needs to back up your resources.
  See [GCP: Permissions Deployment Files] for details.

#### Deploy

Choose whether you want to deploy with the CLI or with Terraform:

* **gcloud CLI**: Run the provided command with gcloud CLI to install the roles.

* **Terraform**: Use the provided Terraform module to install the roles.

#### Bash

1. Select the **gcloud CLI** deployment method.

2. Paste your GCP **Project ID**.
   The command you'll need to run is displayed, including your GCP project ID and Eon-provided project IDs.

3. Paste the provided command in a terminal and run.
   The command downloads and runs a script that installs the necessary roles using gcloud CLI.
   You can [review the script] before running it.

   [review the script]: https://eon-public-b2b628cc-1d96-4fda-8dae-c3b1ad3ea03b.s3.amazonaws.com/gcp-eon-setup.sh

Wait for the script to complete before continuing.

#### Terraform

1. Select the **Terraform** deployment method.

2. Paste your GCP **Project ID**.
   Eon displays the Terraform module invocation you'll need.

3. Paste the provided module invocation in your Terraform configuration and apply.
   You can [review the module] before running it.

   [review the module]: https://eon-public-b2b628cc-1d96-4fda-8dae-c3b1ad3ea03b.s3.amazonaws.com/gcp-eon-setup.zip

Wait for the process to complete before continuing.

#### Confirm

Return to the Eon console and click **I'm Done**.
Eon checks that the necessary roles are installed in the project and, if successful, adds the project to the **GCP projects** list.

Eon now has read access to your GCP project and can start discovering resources.

## See also

* [About Source Accounts]
* [GCP: Permissions Deployment Files]

[About Source Accounts]: /data-protection/backup-and-protection/backup-configuration/source-accounts/about-source-accounts

[GCP: Permissions Deployment Files]: /data-protection/cloud-workloads/gcp/permissions/gcp-permissions-deployment-files