# Connecting your Documint account with Airtable

There are a few ways you can connect your Documint account to Airtable. You can do it directly from the template or from the Integrations page. On the Integrations page, the quickest way to connect your Airtable account is to use the OAuth option. But if needed, you can also integrate the PAT key manually. In this article, we will go through the three options:

1. Connecting Documint's account from Template
2. Connecting Documint's account using OAuth
3. Connecting Documint's account with PAT (Personal Access Token)

## Connecting Documint's account from Template

{% stepper %}
{% step %}

### Connecting your Airtable source

On your template, you will see a source pane on the right-hand side of the builder. There, you'll see Airtable as an option to connect. Click on the connect button.

<figure><img src="/files/oEQ0LdOEnZvWSXBcuhSO" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Sign in with Airtable

After clicking to connect with Airtable, select the "Sign in with Airtable" option in the pop-up. You'll be redirected to your Airtable account. If you're not logged in yet, just log in, and you'll go to the OAuth page. Feel free to grant access to all resources or to specific bases.&#x20;

<figure><img src="/files/40qx8Fg4Fs0KyjM1wF0c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can have multiple Airtable connections if needed. Each connection can hold one or multiple bases. Feel free to explore what works best for you.&#x20;
{% endhint %}
{% endstep %}

{% step %}

### All set! :tada:

Well done! :clap: Now, go ahead and connect the template with your base and table from Airtable. [Click here](/templates/working-with-dynamic-data/connections/airtable-connection.md) to check the instructions.
{% endstep %}
{% endstepper %}

## Connecting Documint account using OAuth

{% stepper %}
{% step %}

### Access the Integrations page in Documint

Go to your account settings and access the Integrations page. You will see the Airtable option.

<figure><img src="/files/JXsA9XTtEc3vXdWwdHV2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add account

In the OAuth section, click on Add account. You'll be redirected to your Airtable account. If you're not logged in yet, just log in, and you'll go to the OAuth page. Feel free to grant access to all resources or to specific bases.&#x20;

<figure><img src="/files/5wMWLZzIKlveqUJIs8lA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### All set! :tada:

Well done! :clap: Now, go ahead and connect the template with your base and table from Airtable. [Click here](/templates/working-with-dynamic-data/connections/airtable-connection.md) to check the instructions.

{% endstep %}
{% endstepper %}

## Connecting Documint account with PAT (Personal Access Token)

### Personal Access Token (PAT)

To allow Documint to integrate directly with your Airtable data for use with the [Generation Link](/integrations/airtable/generation-link.md) and [Automation script](/integrations/airtable/automation-script.md) methods, you need to add your Personal Access Token to your Documint account. Follow the short video below to get set up.&#x20;

{% embed url="<https://www.youtube.com/watch?v=2IQr70weNYg>" %}

{% stepper %}
{% step %}

### While you're logged in to your Airtable account, go to <https://airtable.com/create/tokens/new>

{% endstep %}

{% step %}

### Enter a name

Give the token a name

<div align="left"><figure><img src="/files/rzvtOS9MzRUD3bUchuJV" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Add Scopes

Add the following scopes:

* `data.records:read` (to read your Airtable data)
* `data.records:write` (to potentially update records)
* `schema.bases:read` (to access your table structure)

<div align="left"><figure><img src="/files/KrJxClpkIshQsnFsg0oj" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Grant Base Access

Make sure to grant access to the specific base you want to use with Documint

<div align="left"><figure><img src="/files/cQoNjKapMhEY6SVejH45" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Create the Token

<div align="left"><figure><img src="/files/Sf8D6aGQu6oHRLvgGTPi" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Copy the Token

<div align="left" data-full-width="false"><figure><img src="/files/ULkd6qFdDZvpe0RPOI1q" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

###

{% endstep %}
{% endstepper %}

**That’s it!** Now, you can create all your documents directly from your Airtable base.


---

# 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://docs.documint.me/integrations/airtable/connecting-your-documint-account-with-airtable.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.
