# Quick Start

## About this project

I've been using Airtable for a while, and recently I faced few problems. Especially with removing duplicates and downloading a specific view into a CSV file or JSON. I needed this functionality for creating an OpenAI assistant where I could send a CSV file through an API. I thought that maybe someone else has also encountered this problem. So, I created this API. The project is very simple but it works. I hope that helps.

{% hint style="info" %}
This is an unofficial solution. We are not connected with Airtable in any way. If you have any questions, you can send an email to the following address: <miekki.jerry@gmail.com>.
{% endhint %}

## Instructions

### Set up Airtable token

1. Go to [Developer Hub](https://airtable.com/create/tokens).

<figure><img src="https://2030899003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwPZpcoN6WWbssUkUtPFj%2Fuploads%2Ft5L6y96M4Y8atVwXMj2o%2Fimage.png?alt=media&#x26;token=8f7e28d5-bb93-468d-8810-bc533ac38e33" alt=""><figcaption></figcaption></figure>

2. Create new token.

* Name it as you want
* Add scope: <mark style="color:orange;">data.records:read</mark>
* Give access to base you want to download

<figure><img src="https://2030899003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwPZpcoN6WWbssUkUtPFj%2Fuploads%2FiI9DQkhmdH2zgMCrrMbT%2Fimage.png?alt=media&#x26;token=585c6653-d4ef-475c-a4fc-fa2f02cfee6b" alt=""><figcaption></figcaption></figure>

3. Save your <mark style="color:orange;">Access Token</mark>.

### Get your API keys

Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.

You can generate an API key from your [Dashboard](https://app.tableid.com) at any time.

<figure><img src="https://2030899003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwPZpcoN6WWbssUkUtPFj%2Fuploads%2Flb6C57ZVwjGruetI3GCZ%2Fimage.png?alt=media&#x26;token=6956d4bf-7ca7-426b-9eb8-366da948915d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
New accounts get 50 free API credits. You can buy more by visiting the [pricing](https://cart.easy.tools/checkout/84214003/airexporter) site.
{% endhint %}

{% hint style="warning" %}

### Note

* Ensure your API keys and tokens are kept secure and not exposed in client-side code.
* The API usage is tracked and limited, so monitor your `/check-usage` endpoint regularly to avoid running out of your quota.
  {% endhint %}

## Let's get started 👇🏻
