# Track the cost of a project, launch or migration

By the end of this guide, one project, launch or migration has a report of what it has cost since its first day, a budget that ends when the project does, a note on the chart for each milestone, and a link the people outside the workspace can open. It is for the engineering lead who runs the initiative, and for the product owner who answers for its cost. The path goes from marking the project's cost, through a saved report on it, to a budget from that report, notes for its milestones and a share link. Each step links to the page that owns the detail.

## Before you start

- Cost that names the project: a tag its resources carry, or accounts and services only it uses.
- Creating the report, the saved filter, the budget, the notes and the share link needs edit access to the workspace; see [Access model](/concepts/access-model).
- Every step works on the [sample data](/quickstart#sample-data) a new organization starts with, whose `product` tag carries `analytics`, `checkout` and `storefront` on part of its cost: take `checkout` as the project. Nothing is sent from the sample data, so the budget in step 3 notifies the team only with a real connection.

## 1. Mark the project's cost

Where the project's resources carry a tag, the tag is its filter: on the sample data, the `product` tag with the value `checkout`. Where it has no tag of its own, its accounts and services are the filter: a **Sub-account** clause for the accounts it runs in and a **Service** clause for the services it uses, with **Edit as text** and CQL where two conditions need OR. Keep the conditions as a saved filter too: open **Reporting**, then **Saved filters**, select **New saved filter**, give it the project's name under **Title**, add the conditions under **Conditions** and select **Create**. A dashboard then shows the project alone when you choose the filter under **Saved filter** above its widgets. See [Filter the cost](/cost-reports/explore#filter-the-cost), [Saved filters](/reporting/saved-filters#create-a-saved-filter) and [Change the view for yourself](/reporting/dashboards#change-the-view-for-yourself).

## 2. Save a report on it

On a saved report, select **New report** and choose **Blank report**. Under **Date range**, choose a range that reaches back to the project's first day, or "Custom range" from its first day to its planned end. Select **Add filter**, choose **Tag**, the **Tag key** `product` and the value `checkout` with "is any of", or add the clauses of step 1. For a migration, set **Group by** to **Sub-account** or **Service**, so the side being left and the side being built each have a row. Select **Save as report**, enter the project's name under **Title**, such as "Checkout launch", and select **Save report**. The budget of step 3 counts what this report counts, its own filter included. See [Start a new report](/cost-reports/manage#start-a-new-report) and [Choose a date range](/cost-reports/explore#choose-a-date-range).

## 3. Put a budget on the report

On the report, open **More actions** and choose **Create budget**: the form opens on the report. Set the **Start date** to the project's first day. For one amount over the whole project, set the cadence to its length, such as 6 under **Every** with months as the **Unit**, so its one period measures the total so far. For an amount per month, keep a monthly cadence, untick "Same amount for every period" and spread the project's total with "Even split of a total" under **Fill**. Clear **Carry on after the last period**, so the budget ends with the project. Keep or change the thresholds under **Alert thresholds**, pick the team's email channel under **Send to**, and select "Create budget". See [Create a budget from a report](/planning/budgets#create-a-budget-from-a-report) and [Fill the amounts](/planning/budgets#fill-the-amounts).

## 4. Note the milestones

On the report's chart, point at the day of a milestone, such as the launch or a cut-over, and select "Add note on" followed by its date, or open **More actions** and choose **New note**. Enter the **Note**, keep this report under **Reports**, and select **Add annotation**. The note shows as a marker on the chart and in the **Annotations** panel under it, with what the report's cost did in the week after against the week before. See [Add a note](/cost-reports/annotations#add-a-note).

## 5. Share it outside the workspace

Select **Share** on the report, choose how long the link lasts under **Link expires in**, and select "Create share link": the link is copied to your clipboard, and it is shown only once. Whoever opens it sees the report outside the app without signing in, and cannot change its range, grouping or filter. Send it only to the people who should see the project's cost. See [Share by link](/cost-reports/share-and-schedule#share-by-link).

## Check the result

- The project's report shows its cost since its first day, with the budget under its totals and its line on the chart.
- **Budgets** lists the project's budget with its state in the current period.
- The **Annotations** panel under the report's chart lists each milestone with its marker on the chart.
- The report's **Share** dialog lists the link under **Active links**.

## Keep it true

- Costfluent recommends adding a note on the day each milestone happens, while the reason is still known: a go-live, a cut-over, the old side switched off.
- When the project ends, revoke the share link under **Active links**, and keep the report for the next project's estimate. Costfluent recommends calling a migration done only once the side being left has no cost left in the report.

## Related

- [Saved filters](/reporting/saved-filters), [Budgets](/planning/budgets), [Annotations](/cost-reports/annotations) and [Share and schedule reports](/cost-reports/share-and-schedule)
- [Tie cost changes to deploys and events](/guides/tie-cost-changes-to-deploys)
- [Respond when a budget is at risk or over](/guides/respond-to-a-budget-overrun)
