> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Imports

> Bulk-import data into your collections from CSV or XLSX files

The import feature lets you load bulk data into your collections from **CSV** or **XLSX** (Excel) files. You can import data into an existing collection or create a new collection during the process.

<Frame caption="Databases imports section">
  <img src="https://mintcdn.com/jelouai/daUUvITM1J6ByU2U/assets/images/datum/imports.png?fit=max&auto=format&n=daUUvITM1J6ByU2U&q=85&s=48da8b652294743341dfdc81dab4da4c" alt="Imports page with New Import button and empty state indicating no imports yet" width="3024" height="1730" data-path="assets/images/datum/imports.png" />
</Frame>

## Importing into an existing collection

Click the import icon in the left sidebar and then **+ New Import** to open the wizard.

<Frame caption="Import wizard: collection selection and file upload">
  <img src="https://mintcdn.com/jelouai/daUUvITM1J6ByU2U/assets/images/datum/import-wizard.png?fit=max&auto=format&n=daUUvITM1J6ByU2U&q=85&s=604cd039bea9ef98d61a0d7202a7ae63" alt="Import wizard showing step 1 with Use Existing and Create New options, collection selector, and file upload zone" width="3024" height="1730" data-path="assets/images/datum/import-wizard.png" />
</Frame>

The wizard has **5 steps**:

<Steps>
  <Step title="Upload File">
    Make sure **Use Existing** is selected, choose the target collection from the dropdown, and drag your CSV or XLSX file to the upload zone (or click to select it).

    <Note>
      Maximum file size: **500 MB**. Supported formats: **CSV** and **XLSX**.
    </Note>
  </Step>

  <Step title="Review Mappings">
    Map each collection field to a column in the CSV file. The wizard automatically detects matches (e.g. an `email` field is mapped automatically). For each field you can select a **Subtype** (General Text, ID Number) and a **Country** when applicable. CSV columns you don't map will appear in the **Unused CSV columns** section and will be ignored.
  </Step>

  <Step title="Configure Options">
    Optionally enable **Enable duplicate detection** so Databases checks for existing records and avoids duplicates during the import.
  </Step>

  <Step title="Preview Data">
    Review a preview of the first rows. You will see counters for valid rows, errors, and duplicates. Click any row to see the error details.
  </Step>

  <Step title="Review & Confirm">
    Review the final summary with the file details, target collection, column mappings, and skipped fields. Click **Start Import** to run the import.
  </Step>
</Steps>

## Importing by creating a new collection

<Steps>
  <Step title="Upload File">
    Click **+ New Import**, select **Create New**, enter the name of the new collection, and upload your CSV or XLSX file.
  </Step>

  <Step title="Define Fields">
    Databases will automatically infer field types from the file's columns. You can adjust the types manually if needed.
  </Step>

  <Step title="Configure Options">
    Optionally enable duplicate detection.
  </Step>

  <Step title="Preview Data">
    Review the row preview and verify that the data and types are correct.
  </Step>

  <Step title="Review & Confirm">
    Review the final summary and click **Start Import**.
  </Step>
</Steps>

## Import history

All completed imports are shown in the Imports section with their status. From here you can monitor the progress of ongoing imports and review the results of previous ones.
