# Importing Metadata

This guide shows you how to attach custom metadata to individual agents via a CSV import. You can use extended metadata to provide a richer analytics experience, allowing for deeper reporting through enhanced filtering options.

## Metadata via CSV Import

1. Navigate to **Connected Devices > Settings > Agent Settings > Agents**.

   ![](/files/iHVVolgsZP2rVytxZRoa)
2. Click **Upload metadata** in the top right of your screen.
3. In the resulting popup, use the **Choose file** button to navigate to your saved CSV file (see step 5, below, if you do not have a compatible CSV file).

   ![](/files/DqtsV4XFHpi0JrbeaF6A)

   * Your CSV file must include the required fields, which are:
     * Unique ID
     * Isp
     * Package
     * Timezone
     * Country
4. Click **Upload**.
5. \[Optional] If you do not have a compatible CSV file with the required fields, click **Download export** from the **Agents** tab.

   ![](/files/eDwEH65rAHLccYJ0Kbcx)

   a. Select **Agent metadata**.

   b. With this file, you can add, remove, or change any metadata fields, except for the required ones, to suit your needs.

   ![](/files/MbsOdRkbrDJOCl9w0G3K)

   c. Save the amended file.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thousandeyes.com/product-documentation/connected-devices/usage-guides/importing-metadata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
