Connect a GCP Account (CloudCADI hosted on AWS)
Prerequisites
Open CloudCADI's GCP onboarding page and note down the two values shown there - Account ID, Attribute. You'll copy these into GCP in the steps below.

-
In the GCP Console, go to IAM & Admin.
-
Select Workload Identity Federation from the left panel, then click Create pool.

-
Enter a name for the identity pool and click Continue.

-
Under Add a provider to pool, select AWS.

-
Fill in the provider details, using the values noted from CloudCADI's UI:
- Provider Name: (e.g., aws-provider)
- AWS Account ID: Use the 12-digit AWS account number
Click Continue then click Save.

-
Once the pool is created, click Grant access.

-
Select Grant access using service account impersonation, then select an existing service account (or create one and select it). Under Select principals, choose aws_role and paste the Attribute value from CloudCADI's UI, then click Save.

-
A popup will appear in the middle of the page. Select the Provider and download the configuration file by clicking the Download Config button.

-
The configuration file will be downloaded successfully.
-
Back in CloudCADI, enter the GCP Organization ID and the Service Account you used, paste the contents of the downloaded file into WIF credential configuration (JSON), then click Save & Validate.

Auto and Manual Onboarding
Once the prerequisites above are complete, projects can be onboarded either automatically or manually.
Auto
-
Enter your Organization ID in the field provided. Use the CLI command to assign the three required roles, or manually assign them at the organization level.

-
Click Next - all projects under that organization with billing and pricing export enabled are fetched.
-
Select the projects to onboard and click Done. The selected projects are onboarded.

Manual Setup
- Enter the Project Name, Project ID, Project Number, Fully Qualified Detailed Billing Report Table Name, and Fully Qualified Pricing Report Table Name, verify all the fields, and click Confirm.
For enabling Detailed Usage Cost and Pricing exports and obtaining the fully qualified BigQuery table names, refer to the GCP Billing Export documentation.

-
Review the configuration and click Done.
