Skip to main content

Setup GCP credential for cost

Enable APIs to access your GCP project

Now you need to export Daily cost to BigQuery

Create Service Account

  • Here's the docs about how to create and manage a service account from Google
  1. Log into your Google Cloud console and navigate to IAM Admin > Service Accounts.
  2. Click on "Create Service Account".
  3. Enter a name in the "Service account name" and description.
  4. Click on Continue.
  5. Leave the role as it is
  6. Click on Continue.
  7. Click on "Create Key".
  8. Leave the default JSON selected.
  9. Click on "Create".
  10. The key will be downloaded to your computer.

Now let's add this credential to MeghOps

  1. Goto https://app.meghops.com/auth/login and login with your account
  2. Now go to settings by clicking the top right corner ( Profile avatar) then Settingsimage
  3. From the settings page go to Cloud accounts then click on Add credential.
    imageimage
  4. Now from this dialog select GCP and checkmark on Scan or if you want to use the same account for scan and cost then checkmark these two, now paste your GCP credential JSON then click on Submitimage
  5. Done!