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

# CSV as a data source

> Bring data from CSV to Nekt.

CSV (Comma-Separated Values) is a simple file format used to store tabular data, such as a spreadsheet or database. Each line represents a row of data, with values separated by commas, making it a widely supported format for data exchange between different applications and systems.

<img height="100" src="https://mintcdn.com/nekt/3MFKt2g7jzqFpztO/assets/logo/logo-csv.png?fit=max&auto=format&n=3MFKt2g7jzqFpztO&q=85&s=a001e7f39d57426d275dbe62fe62a61d" data-path="assets/logo/logo-csv.png" />

## Step 1 - Select your file

1. In the [Sources](https://app.nekt.ai/sources) tab, click on the **Add source** button located on the top right of your screen. Then, select the **CSV** option from the list of connectors.

2. Click **Next** and you'll be prompted to describe your data source. Give it a name and upload your CSV.

3. As soon as you upload it, optionally, you have the chance to edit the file's name. You can't have more than one file with the same name, but you can have the same file uploaded more than once with different names if you ever need it.

4. The next step consists in letting us know more about your new table:

   * Inform how you want it to be named in the catalog;
   * Specify what's the delimiter being used in your CSV. If you're not sure about it, you can open your CSV in a text program and see how your data is being separated;
   * Inform the name of the columns used as unique key.

5. Click **Next**.

## Step 2 - Set your new table

Now that you've specified how's your csv structure, define how you want your table in the catalog to be.

1. Select one column to work as primary key (select among the ones informed previously) and which fields from your csv you want to bring.

2. Click **Next** to finalize.

## Step 3 - Check your new source!

Your CSV source was added! Now, for you to be able to see it on your datalake, you have to wait for the pipeline to run.

1. Click in **Done** and you'll see the new source in your sources list.

Now, for you to be able to see it on your [Catalog](https://app.nekt.ai/catalog), you have to wait for the pipeline to run. You can now monitor it on the [Sources](https://app.nekt.ai/sources) page to see its execution and completion. If needed, manually trigger the pipeline by clicking on the refresh icon. Once executed, your new table will appear in the Catalog section.

> Let us know through our Slack if you face any blocker and we'll be happy to help!

## Skills for agents

<Snippet file="agent-skills-intro.mdx" />

<Card title="Download CSV skills file" icon="wand-magic-sparkles" href="/sources/csv.md">
  CSV connector documentation as plain markdown, for use in AI agent contexts.
</Card>
