> For the complete documentation index, see [llms.txt](https://help.pump.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pump.co/aws/onboarding/downloading-your-aws-cost-explorer-history.md).

# Downloading Your AWS Cost Explorer History

When you join Pump's AWS Organization, your AWS Cost Explorer data resets. This is standard AWS behavior: Cost Explorer history does not carry over when an account moves to a new billing organization.

Pump backfills and retains your historical cost data within the Pump dashboard. However, if you want to keep a copy of your raw AWS Cost Explorer data for your own records, download it before completing the onboarding process.

This takes about 2 minutes.

### Steps

1. Log in to the AWS Console.
2. Navigate to **Billing and Cost Management** (search for it in the console search bar).
3. In the left menu, scroll near the bottom and select **Cost Management Preferences**.
4. Click the **Cost Explorer** tab (second tab from the left).
5. Check the box for **Enable 38 months of past cost and usage data**.
6. Click **Save**, then confirm by clicking **Save** again in the popup.
7. In the left menu, click **Cost Explorer** (just below Cost Usage Analysis).
8. In the top right of the Cost Explorer page, open the **Date Range** selector.
9. Click **More** at the bottom right of the date range popup.
10. Select **3 years** of data.
11. Click **Download CSV** (button located below the graph on the right).

### When to do this

Download your Cost Explorer history before completing Step 3 (Authorize Pump as billing partner) of the AWS onboarding flow. Once your account joins Pump's Organization, the Cost Explorer history in the AWS Console resets.

### What Pump retains

Pump backfills up to 12 months of historical cost data from Cost Explorer when you first connect. CUR-based data backfills from the beginning of your account's billing history. Your full cost history is available in the Pump View dashboards after onboarding.

The CSV download is an optional backup for your own records, not a requirement for using Pump.


---

# 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://help.pump.co/aws/onboarding/downloading-your-aws-cost-explorer-history.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.
