Skip to main content
Vantage uses a service account to integrate with your GCP account. Vantage requests extremely basic and limited permissions for GCP. During the integration process, you will grant the service account access only to the specific BigQuery dataset that contains your billing data. Vantage runs the queries that extract your billing data in its own Google Cloud project and absorbs the associated query and compute costs. As a result, you only need to grant the Vantage service account read access to your billing dataset. You do not need to grant permission to run BigQuery jobs in your own project.
To attribute Vertex AI Gemini and Marketplace Claude spend to teams, users, applications, and features by your own per-request dimensions, see Custom LLM Enrichment, which joins per-request token telemetry you deliver to S3 with your Google Cloud costs.

Prerequisites

Before you start the integration process, you will need to complete the following prerequisites:
  • Create a project to store your Cloud Billing export data.
  • Create a BigQuery dataset to store your Cloud Billing export data.
  • Enable Cloud Billing export.
  • You must have a Vantage Organization Owner or Integration Owner role to add or remove this integration. See the Role-Based Access Control documentation for details.
See the GCP Cloud Billing export instructions for details on how to complete the above steps. Then, return to this page to complete the rest of the integration process.
If your organization enforces domain restrictions, you can add the following Google Cloud organization ID to allow Vantage access: 421856710303. If you instead need the customer ID, use C03l99qsz.
If you have a pre-existing Cloud Billing export set up, ensure your configuration adheres to the requirements below before moving further.
  • Your project is linked to the same Cloud Billing account that the Cloud Billing export is enabled on.
    We recommend you create a dedicated project to store all Cloud Billing data, rather than using an existing project.
  • Detailed Billing Export is enabled, not Standard Billing Export.
  • The BigQuery dataset and table are deployed to either US (multiple regions in United States) or EU (multiple regions in European Union).
  • If you have multiple Cloud Billing accounts, you will need to enable Cloud Billing exports on each account.
If your GCP billing data is typically displayed in a currency other than USD, Vantage will convert it to USD using the currency_conversion_rate field in the Cloud Billing export data.

Create a Connection

Open a new browser tab, and navigate to the Vantage GCP Settings page. You should see your customer-specific service account displayed at the top of the integration page. Keep this page open.
Previously required the BigQuery Job User role. Vantage used to run billing queries inside your project, which required you to grant the Vantage service account the BigQuery Job User role. Vantage now runs these queries in its own project and covers the cost, so this role is no longer required for the billing extract. If you connected GCP before this change, removing the BigQuery Job User grant from your project will not affect your billing imports. We recommend removing it so the service account keeps only the access Vantage needs.

Step 1 - Grant the Vantage Service Account Permission to Access the BigQuery Dataset

Go back to BigQuery, and complete the steps below to grant the Vantage service account permission to access the BigQuery dataset.
1
At the top of the BigQuery console, ensure the project that you set up to contain your billing data is selected.
2
In the Classic Explorer panel, select your project to expand it.
3
Select the three vertical dots next to the dataset name, then click Open. The Dataset info will be displayed on the right. Keep this screen open as you will need to obtain your project ID and dataset name in the Add Your GCP Configuration Information to the Vantage Console step.
4
Select the three vertical dots next to the dataset name again, then click Share > Manage permissions.
BigQuery share dataset menu
In this example, project-id-123456 is the project and all_billing_data is the dataset.
5
On the Share permissions panel that appears on the right, click + Add principal.
6
In the New principals field, under Add principals, search for and select the Vantage service account.
Copy the full name of your service account from the Vantage console into the search field to search for it.
7
In the Role field, under Assign roles, search for and select BigQuery Data Viewer.
Grant BigQuery dataset access
8
Click Save.
Using GCP BigQuery Business Metrics? GCP BigQuery Business Metrics let you import a business metric by running SQL against your BigQuery data. Unlike the billing extract, these metric queries run in your project, so they require the Vantage service account to have the BigQuery Job User role on the project that runs the query, in addition to the BigQuery Data Viewer role on each referenced dataset. If you use this feature, grant BigQuery Job User on the query project and BigQuery Data Viewer on each dataset the query references.
Using VPC Service Controls? If your organization protects BigQuery with a VPC Service Controls perimeter, granting the roles above is not sufficient. You must also add a perimeter exception so the Vantage service account can read your billing dataset from the Vantage project. See the VPC Service Controls section below. Ordinary VPC or Shared VPC networking does not require any changes.

Step 2 - Grant the Vantage Service Account Permissions to Access Active Resources

To enable active resources, you must grant the Vantage GCP service account permissions at the organization level. This allows Vantage to gather data on active resources across your organization. For a list of all supported GCP active resources, see the GCP Supported Services documentation.
Choosing your permission approach:The Viewer role (Simple) is the quickest option and covers all services with a single built-in role. However, it grants broad read access across GCP, including the ability to read BigQuery table contents and Cloud Storage object contents.The custom role (Minimal Permissions) grants only the specific permissions Vantage needs to list resource metadata. Choose this option if your organization has security requirements that prohibit broad read access.
Grant the built-in Viewer role to the Vantage service account at the organization level.
1
Open a new tab in GCP, and navigate to IAM & Admin.
2
On the top left of the screen, switch to your organization.
3
Click + Grant access.
Switch to organization in GCP
4
In the New principals field, under Add principals, paste the value for your Vantage service account.
This value is the one displayed on the Vantage GCP Integration page you opened earlier and have used for other permissions.
5
Under Assign roles, click Basic and select the Viewer role from the Role list. This adds the role needed for active resources.
Add viewer permission at org level
6
Click Save.

Step 3 - Add Your GCP Configuration Information to the Vantage Console

Go back to your browser tab that has BigQuery open. Then, in another tab, go back to the Vantage GCP Integration page to complete the integration process.
1
At the bottom of the Vantage GCP Integration page, click Add Project Info. A pop-up is displayed, which requires your Billing account ID, the project ID for the project that hosts the BigQuery dataset, and the BigQuery dataset name.
2
To obtain your Billing Account ID:
  • Go to GCP Billing.
  • Copy the value for your billing account, displayed in the Account ID column. It will look something like 1234AB-123456-7ABC12.
GCP Billing account ID screen
3
To obtain your Project ID hosting BigQuery dataset and BigQuery Dataset Name:
  • In the Dataset info screen of BigQuery (previously opened in step 3 of the BigQuery permissions section), observe the value on the Dataset ID line (ensure you are on the Details tab).
    BigQuery dataset details
  • Copy everything before the period. For example, in project-id-123456.all_billing_data, copy only project-id-123456. Paste this in the Project ID hosting BigQuery dataset field in Vantage.
  • Copy everything after the period and paste it in the BigQuery Dataset Name field in Vantage. (For example, in project-id-123456.all_billing_data, copy all_billing_data.)
Vantage console configuration
4
Click Connect Account.
It typically takes a few hours for data to start appearing. Cloud Billing data is added retroactively for the current and previous month when detailed usage cost data is configured. Full data for the current and previous month can take 24–48 hours to fully propagate.
After creating your connection, you will see the status of your integration change to Importing within the Vantage console. This status indicates that Vantage is actively importing your GCP cost data. See the Integration Status documentation for details on integration statuses.

Next Steps - Manage Workspace Access

Once the import is complete and the integration status changes to Stable, you can select which workspaces this integration is associated with. See the Workspaces documentation for information.

VPC Service Controls

Most customers do not need to complete this section. It applies only if your organization uses VPC Service Controls (VPC-SC) to place a security perimeter around BigQuery.
Ordinary VPC or Shared VPC networking does not affect this integration. BigQuery is an API service rather than a resource inside your network, so standard VPC configuration, even a project-wide VPC, requires no changes. Only a VPC Service Controls perimeter requires the exceptions below.
Because Vantage runs billing queries from its own Google Cloud project, a VPC-SC perimeter around your billing project will block Vantage even though the BigQuery Data Viewer grant is still valid. To allow access, add the following two rules to your perimeter:
  • An ingress rule that lets the Vantage service account read your billing export (bigquery.tables.getData).
  • An egress rule that lets query results flow to the BigQuery job in the Vantage query project (bigquery.jobs.create).
Replace the placeholders before applying:
ingress.yaml
egress.yaml

Data Refresh

See the provider data refresh documentation for information on when data for each provider refreshes in Vantage.

Reporting Dimensions

On GCP Cost Reports, you can filter across several dimensions:
  • Project (project name)
  • Category (e.g., Cloud Functions Invocations (2nd Gen))
  • Subcategory (e.g., Compute Engine - E2 Custom Instance Ram running in Americas - this will most often be the same as Category, but in cases where the Category is Other, the Subcategory will provide more detail, such as a SKU description as shown here)
  • Label/Not Labeled (includes GCP labels and virtual tags created in Vantage for this provider). In addition, the following provider tags are automatically created by Vantage from GCP data and are available for filtering and grouping when the GCP folder tag feature is enabled:
    • gcp:folder:id: The GCP folder ID associated with the project, allowing you to filter and group costs by folder ID.
    • gcp:folder:name: The GCP folder name associated with the project, allowing you to filter and group costs by folder name.
    • gcp:folder: The combined folder ID and name (format: id/name), allowing you to filter and group costs by folder.
    • gcp:project_id: The GCP project ID associated with the line item, allowing you to filter and group costs by project ID.
    • gcp:project_name: The human-readable GCP project name, allowing you to filter and group costs by project name.
    • gcp:invoice_month: The GCP invoice month (format: YYYYMM), allowing you to filter and group costs by invoice month.
    • gcp:sku: The GCP SKU ID for the line item, allowing you to filter and group costs by individual SKU.
  • Resource (resource ID)
  • Region (e.g., Us East1)
  • Charge Type (e.g., Usage)
  • Billing Account (billing account ID)
  • Marketplace (Toggle to show only Marketplace purchases or excluded)
  • Service (e.g., Cloud Build)

Reconcile Vantage With GCP Invoice Totals

If you compare a GCP invoice to a Vantage Cost Report and the totals do not line up exactly, the difference is usually caused by how the data is grouped rather than by missing costs. Use the following workflow to match a GCP invoice more closely:
  • Filter the report to the relevant Billing Account.
  • Group or filter by the gcp:invoice_month provider tag to align the report with GCP’s invoice month.
  • When validating a single invoice month with a date-based Cost Report, include the last day of the previous month and the first day of the following month. Vantage bins GCP costs in UTC using usage_start_time, while GCP invoice views may reflect a different local timezone.
  • Review your report’s Cost Settings to confirm whether credits, discounts, refunds, and taxes are included. You may need to enable these settings in Vantage to match the invoice totals shown in GCP.
  • If you recently connected the integration, allow 24–48 hours for the current and previous month to fully propagate before comparing totals.
If you manage several billing accounts and want more readable labels in reports, create Virtual Tags that map each billing account ID to a friendly name.