# Import a file

If you already have your data in a CSV file, you can use that file to automatically create a corresponding Noloco table. We will automatically derive the field types, import your data, and even create the most appropriate view for the data in your app.

{% @arcade/embed url="<https://app.arcade.software/share/OFOW4RKH0gnxNyPUUgb4>" flowId="OFOW4RKH0gnxNyPUUgb4" %}

To get started, select 'Import a file' from the data source menu:

<figure><img src="/files/WwrgK3EVaN08yqKZrhBK" alt="" width="331"><figcaption></figcaption></figure>

You will then see the import modal appear, where you can first name the table:

<figure><img src="/files/O8mSqegTds7vLtzX6mol" alt=""><figcaption></figcaption></figure>

Then, you can simply drop your CSV file, and we will automatically derive the structure for the table:

<figure><img src="/files/ywuV8fUqiGzZGJqRyn7i" alt=""><figcaption></figcaption></figure>

At this point, you can click on the column headings to either exclude or change the type of any fields. Once you're done, just click 'Import' and we will set everything up.

<figure><img src="/files/2FHUSzWDlrgKub2NCBJW" alt=""><figcaption></figcaption></figure>

### Troubleshooting

#### Why is the 'Import' button is greyed out?

This likely indicates that you have left the table name with its default value, creating a conflict with a previous import. Alternatively, it might mean you've renamed the table, and this name also conflicts with an existing table.


---

# 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://guides.noloco.io/data/collections/import-a-file.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.
