# Flat files

Currently, we do not support import flat files (csv, tsv format) directly into Dataflake.&#x20;

However, if you have your databases which Dataflake support to connect, you can import flat files (csv, tsv or custom format) to them, then you can continue executing to connect your database to Dataflake.

**To import your flat files into your database:**

From the top navigation bar, click on the ![](/files/1l9J7Hc61GOOhStXl8ru) icon.

Choose the **Connection strings** tab.

Select the data source that you want to import your flat file in. Make sure that you already connect the data source to Dataflake

Click ![](/files/vFNGw6IGCnJ4ntxa802C)to import your flat file to the data source

<figure><img src="/files/6gauXyXfSmjwXH84RYF6" alt="" width="375"><figcaption></figcaption></figure>

Browse the file you want to add.

Select the type of file.

Name your Table.

Check this option if you want to consider the first row as the Header.

Click **Next**

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

Configure Data types for each column.

You can rename columns

Click **Import**

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


---

# 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://doc.dataflake.co/data-sources/flat-files.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.
