API Setup: Google Cloud Platform (GCP)

Integration with GCP requires credentials for a valid service account. The service account must be enabled for at least one project, and the Compute API needs to be turned on for any projects that you wish to sync VM data from.

Create a service account in GCP's "IAM and admin" pane.

The service account needs pemissions that allows it to read and modify Compute Engine instances, as well as view logs. Some example roles that are known to work include Compute Instance Admin (v1) combined with Log Viewer.

Once the service account has been created, navigate to the "APIs and services" pane for the project you wish to enable. Select "ENABLE APIS AND SERVICES" and enable the following services:

  • Compute Engine API

  • Cloud Logging API

  • Cloud Resource Manager API

Navigate back to the service account and create a new private key with JSON format. This will be automatically downloaded as a JSON file - it is highly recommended to store this in a secure location. Use the private key value inside the file alongside the private key ID and service account email taken from GCP console and input them into the API Keys page on Control Plane.

Last updated