# GCP

This page documents the GCP-specific setup and supported resources for Cost Explorer (Gantt).

### Step 1: Add Your GCP Account

Cost Explorer (Gantt) requires your GCP account to be added to MechCloud. Follow the GCP onboarding guide to connect your account:

[Add GCP Account](https://docs.mechcloud.io/cloud-computing/add-an-account/gcp)

### Step 2: Configure Permissions

The service account used by Workload Identity Federation must have the following IAM roles on the project:

* **Compute Viewer** (`roles/compute.viewer`) — to read Compute Engine instances and disks
* **Cloud Asset Viewer** (`roles/cloudasset.viewer`) — to list and search project resources

### Step 3: Create a Resource Context

A Resource Context defines the logical boundary within which Stateless IaC and related visualizations operate. Follow the Resource Context setup guide:

[Resource Context](https://docs.mechcloud.io/cloud-computing/stateless-iac/resource-context)

### Step 4: Provision Infrastructure Using Stateless IaC

Once the GCP account and Resource Context are configured, infrastructure can be provisioned using Stateless IaC.

Follow the Stateless IaC authoring guide:

[Stateless IaC for GCP](https://docs.mechcloud.io/cloud-computing/stateless-iac/gcp)

### Supported Resources

See the [Supported Resources](https://docs.mechcloud.io/cloud-computing/cost-explorer/gcp/supported-resources) page for the complete list of GCP resource types supported by Cost Explorer.

### Demo

Coming soon.
