# GCP Integration

To integrate Google Cloud Platform (GCP) with Cost Management, follow these steps:

## Assign Required Permissions

Navigate to the GCP Console and create a service account with the following role:

- **Compute Viewer** at the project level

- Assign the **Billing Account Viewer** role at the organization level to the created service account

- Once these two roles are attached, create a new service account key
- Download the service account key in 'JSON' format for later use in the integration

## Attach Service Account to Cost Management

Once the roles are assigned, attach the service account and create a [GCP Cloud Credential](https://docs.rafay.co/cost_management/cloud_credentials/#gcp-cloud-credentials) for Cost Management.
