# Send submissions to Airtable

> Formspree Docs · Using the CLI · Updated July 14, 2023

Adding the **Airtable** action in the `formspree.json` file has the same effect as adding the AIrtable plugin in the Formspree dashboard. If you want to know more about Airtable and Formspree, access our [help article](/articles/plugins/use-airtable-to-create-powerful-spreadsheets/).

## Get your credentials

To use the Airtable plugin we need to get the API Key for your Airtable account. Go to [https://airtable.com/account](https://airtable.com/account) and generate or get your API Key in the API section.

![mceclip0.png](/images/zendesk/54ce619dc72fdae3.png)  
  

## Creating bases and tables

Formspree works with already created bases/tables and defined columns. Please create it before you deploy the Airtable plugin using the CLI. Check the **Form Setup** section at [Formspree Airtable docs](/articles/plugins/use-airtable-to-create-powerful-spreadsheets/).

## formspree.json configuration

| Key | Type | Description |
| --- | --- | --- |
| `app` |  String | Must be `airtable` |
| `type` |  String | Must be `sendToTable` |
| `apiKey` |  String | The key generated in [**Get your credentials**](#h_01EVS3ZMEA348KJ45HV0W05Z4C) step |
| `baseName` |  String | The Airtable base name where you want to send the submissions. Only bases that you have write permission are available. |
| `tableName` |  String | The Airtable table name where you want to send the submissions. |
| `syncSubmissions` |  Boolean | Optional. Default: `false`. If true, send _all_ form submissions once during the first deployment. If you change this value to `true`, or alter the base or table, the submissions will be resent. |

**Example**

```javascript
{
    "forms": {
      "wedding": {
      "name": "Wedding presence confirmations",
      "actions": [
          {
          "app": "airtable",
          "type": "sendToTable", 
          "apiKey": "$AIRTABLE_API_KEY",
          "baseName": "Wedding",
          "tableName": "Confirmed guests",
          "syncSubmissions": true
        }
      ]
    }
  }
}
```

## Validation rules

No validation rules are implicitly configured.
