> ## 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.

# CSV

> Upload usage metrics as a flat or columnar CSV file in Costory

<Tabs>
  <Tab title="Manual setup">
    1. Prepare a CSV file in **flat** or **columnar** format.
       * Date column in `YYYY-MM-DD`
       * Metric values are numeric
    2. In Costory, go to **Metrics > Import new metrics datasource > CSV**.
    3. Upload the file, choose the orientation, and map columns.
    4. Define the metric names, aggregation, and gap-filling rules.
  </Tab>

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