> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/automation-platform/overview-1/use-cases/cost-management/export-billing-to-bigquery.md).

# Enabling GCP Billing Data

Set up GCP billing data access for DuploCloud

To enable billing data visibility in DuploCloud for Google Cloud Platform (GCP), you must export detailed billing data to BigQuery and give DuploCloud access to that dataset. Once the export is complete, you will enable the billing feature in the DuploCloud Portal to begin viewing usage and cost data.

## Step 1. Create a BigQuery Dataset

[Create a BigQuery dataset](https://cloud.google.com/bigquery/docs/datasets#create-dataset) in the project you plan to use with DuploCloud.

## Step 2. Enable Billing Export to BigQuery

[Enable detailed billing data export](https://cloud.google.com/billing/docs/how-to/export-data-bigquery) using the following specifications:

* Select the same project and dataset you used in Step 1.
* Make sure to enable **Detailed usage** **cost** export.

## Step 3. Share the Dataset with DuploCloud

1. Open the BigQuery dataset in the GCP console.
2. Click **Share dataset**.
3. Add the DuploCloud service account email.
4. Assign the role: **BigQuery Data Viewer**.

## Step 4. Enable Billing in DuploCloud

After setting up the export and access:

1. In the DuploCloud Portal, navigate to **Administrator**-> **Billing**.
2. On the right side of the page, click **Enable Billing Feature**.<br>

   <figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FdXLoEXAWLvx6qk7eLoPs%2FScreenshot%20(600).png?alt=media&amp;token=22afea77-48b5-4f8c-afec-9a0cb5eccb9f" alt=""><figcaption><p><strong>Billing</strong> page in the DuploCloud Portal with the <strong>Enable Billing Feature</strong> option highlighted</p></figcaption></figure>

DuploCloud will display GCP billing data as it becomes available from the BigQuery export.

## Step 5. Notify DuploCloud Support

Contact DuploCloud Support to confirm access and complete setup. This step is required to activate the billing dashboard.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.duplocloud.com/docs/automation-platform/overview-1/use-cases/cost-management/export-billing-to-bigquery.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
