# Cost reporting for Google Cloud projects

By the end of this guide, every Google Cloud project your billing account pays for appears in Costfluent with an owning team, each team has a monthly budget, and a report reaches the people who review it. It is for the platform engineer or admin who runs the billing account and its projects. Google Cloud bills projects through a billing account, and that account's BigQuery billing export already carries the cost of every project it pays for, so one connection covers them all. This guide connects the billing account once, checks the connection, turns projects into owners with segments, puts a budget on each, and delivers a report on a schedule. Each step links to the page that owns the detail.

## Before you start

- Access in Costfluent to add connections, and in Google Cloud a BigQuery dataset holding the billing account's **Detailed usage cost** export; see [Access model](/concepts/access-model) and [Connect Google Cloud](/connect/google-cloud#prerequisites).
- The projects you will report on, and which team owns each.
- A real connection: the [sample data](/quickstart#sample-data) a new organization starts with holds synthetic Google Cloud cost, not your projects, and your first connection removes it.

## 1. Connect the billing account

Connect the billing account, not a project: its export carries the cost of every project it pays for. Grant the service account Costfluent created for your organization **BigQuery Data Viewer** on the export dataset, then add the connection under **Integrations** with the **Billing account ID** and the dataset's project and name. Cost needs that one grant and no role in your projects. See [Connect Google Cloud](/connect/google-cloud).

## 2. Check the connection

The **Manage** tab lists the connection with its **Billing account ID**, **Project** and **Dataset**. Open the gear icon beside it to see whether the dataset is still readable and which billing months have been imported; **Run checks** names the step that failed. The connection lists no projects of its own: they appear in reports with their cost. See [After connecting](/connect/google-cloud#after-connecting).

## 3. See cost per project

Open **Cost reports** and set the grouping to **Sub-account**: each row of the cost table is one project, by its ID, and a charge without a project has none. Add **Service** as a second grouping to see what each project runs. See [Explore cost data](/cost-reports/explore) and [Reporting dimensions](/connect/google-cloud#reporting-dimensions).

## 4. Make projects into owners

Add one segment per team, or per project where a project is a team. Then add one rule per segment with a **Sub-account** condition that names the team's project IDs; a team that owns several projects needs one rule listing them all. Project labels arrive as tags, so a label that already names the owning team can be the rule's condition instead. Preview each rule and watch coverage rise until the unallocated share is one you can explain. See [Segments and allocation rules](/allocation/segments).

## 5. Put a budget on each segment

Create a monthly budget per segment and choose that segment under **Measures**: it counts the segment's direct cost and its share of shared cost. Pick the team's notification channel under **Send to**. See [Budgets](/planning/budgets).

## 6. Deliver the report

Save a report grouped by **Segment**, then **Sub-account**, over the current month, and schedule it monthly to the email channel of the people who review it; for one team, save a report filtered to its projects and schedule that one to the team. See [Save and manage reports](/cost-reports/manage) and [Share and schedule reports](/cost-reports/share-and-schedule).

## Check the result

- Grouped by **Sub-account**, a cost report lists every project you expected.
- On **Segments**, the **Coverage** card's **Unallocated** share of the last whole month is one you can explain.
- Each team's budget shows "Current spend" against "This period’s amount".
- The report lists its schedule under **Existing schedules** as **Active**, with "Next:" naming the next delivery.

## Keep it true

- A new project the billing account pays for appears under **Sub-account** with its first cost, with no new connection, and under no segment until a rule names it. Add it to the owning team's rule; the rule restates past months too.
- Moving a project between teams is a rule change, not a report change.

## Related

- [Connect Google Cloud](/connect/google-cloud) and [Segments and allocation rules](/allocation/segments)
- [Showback for teams](/guides/showback-for-teams)
- [Budget routine](/guides/budget-routine)
- [Cost reporting for Azure subscriptions](/guides/azure-subscription-cost-reporting)
