Skip to content
  • There are no suggestions because the search field is empty.

Connect Google Cloud (Gemini) to AppVentory

Turn on Google Cloud's billing export in BigQuery and find the billing table ID AppVentory asks for.

Setup guide · AI Spend Management

What you get

AppVentory tracks your Gemini and Vertex AI spend by reading Google Cloud's billing export in BigQuery. This guide walks you through turning that export on and finding the billing table ID that AppVentory asks for.

Before you start: check your permissions

In Google Cloud, you'll need:

  • Billing Account Administrator or Billing Account Costs Manager on the Cloud Billing account that pays for Gemini or Vertex AI
  • BigQuery User (or higher) on the project that will store the billing data
  • Project Creator, only if you plan to create a new project in step 1

Later, in AppVentory, someone with the Owner role on that project runs two short commands to grant AppVentory read access.

Step 1: Choose a project for your billing data

Pick an existing Google Cloud project to store the billing data, or create a new one just for billing, which is easier to manage. The project must have billing turned on and be linked to the same billing account that pays for Gemini or Vertex AI. If it isn't, Google won't offer it as a destination in step 3.

Step 2: Create a BigQuery dataset

  1. Open BigQuery and select your project from step 1 in the project picker.
  2. Open the ⋮ menu next to the project and select Create dataset.
  3. Enter a dataset ID, such as all_billing_data.
  4. Select Create dataset. It now appears under your project.

BigQuery: open the ⋮ menu next to your project and select Create dataset

BigQuery: open the ⋮ menu next to your project and select Create dataset

Step 3: Turn on billing export

  1. From the navigation menu, open Billing.
  2. If you have more than one billing account, choose the one that pays for Gemini or Vertex AI. Only projects paid by this account are exported.
  3. Select Billing export, then Enable detailed export.
    Already exporting standard usage cost? AppVentory accepts that table too, so you can skip to step 4.

Billing → Billing export: Enable detailed export

Billing → Billing export: Enable detailed export

  1. In the setup window, choose the project from step 1 and the dataset from step 2, then Save.

Choose the project from step 1 and the dataset from step 2, then Save

Choose the project from step 1 and the dataset from step 2, then Save

Step 4: Copy the table ID into AppVentory

  1. Wait for Google to create the billing table under your dataset. This can take 24–48 hours.
  2. In BigQuery, open the ⋮ menu next to the table and select Copy ID.

BigQuery: open the ⋮ menu next to the billing table and select Copy ID

BigQuery: open the ⋮ menu next to the billing table and select Copy ID

  1. Paste it into Billing table ID in AppVentory's Google Cloud (Gemini) connect window, and follow the steps there.

Example table ID

The ID has three parts: project, dataset and table.

billing_exports.all_billing_data.gcp_billing_export_resource_v1_01A2B3_C4D5E6_F7G8H9