> ## Documentation Index
> Fetch the complete documentation index at: https://docs.costory.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GCP CUD Metadata

> Import GCP Committed Use Discount metadata from BigQuery into Costory.

<Tabs>
  <Tab title="Terraform">
    Not supported.
  </Tab>

  <Tab title="Manual setup">
    Open Costory and go to **Billing > Import new billing datasource > GCP CUD Metadata**. The stepper guides you through each field.

    1. Export GCP Committed Use Discount metadata to BigQuery.
    2. Ensure the table includes required columns:
       * billing\_account\_id, cud\_product, consumption\_model, subscription, region,
         term, start\_time, end\_time, state
    3. Provide the BigQuery table path in the Costory stepper.

    Reference:\
    [https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables/cud-export](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables/cud-export)
  </Tab>
</Tabs>

**What Costory includes**

* **Commitment metadata**: billing account, product, region, term, start/end dates, and state.
* **Consumption model and subscription type** for each commitment.

**What Costory does not include**

* **Commitment cost or savings data**. This datasource provides metadata only. Actual CUD cost impact is captured in the [GCP billing export](/setup/billing/gcp).
* No historical backfill. Costory imports the current state of the BigQuery table.
