# Imports

You can import records from a file to your collections. To import records you firstly need to create a collection. During the import process, you can map fields inside your file to fields inside your collection so the field names are not important.

Importing requires values inside a file to be in a specific format. Every value should be a valid JSON value. All the errors encountered during the import process are logged and can be viewed after the import process is done.

## Supported import file types

The following file types are allowed to be imported:

* .csv


---

# 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.codemash.io/dashboard/database/imports.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.
