--- title: "Airtable Template" slug: "mindbehind-code-station-airtable-template" description: "Use the Airtable template in the Code Station to link spreadsheet-style data actions into your MindBehind flows for dynamic content." tags: ["airtable", "code station templates", "mindbehind"] updated: 2026-04-12T15:59:43Z published: 2026-04-12T15:59:43Z canonical: "academy.insiderone.com/mindbehind-code-station-airtable-template" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Airtable Template > **Suggested reading**: [Integrate Code Station](/docs/mindbehind-integrate-code-station) You can create your code block for [Code Station](/docs/code-station-module) from scratch or integrate a template. One of these templates is the Airtable template. ## Requirements Before starting the integration of Airtable in the Code Station module, ensure all requirements below are met. Once completed, follow the steps for [Airtable integration](/docs/code-station-airtable-template#create-an-airtable-code-station-module). 1. You need to create an Airtable file. You can follow the steps explained in [Airtable's guide](https://www.airtable.com/guides/start/how-to-create-a-base) to create a file. 2. You should generate a token in your Airtable file. To generate it: 1. Click on your profile on Airtable and go to the **Developer Hub**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/at1(1).png) 2. Click the **Create New Token** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/at2(1).png) 3. Add "read" and "write" scopes under your token, and click the **Create** button at the bottom of the page. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/at3.png) Your token has been generated. You will use this token when you create your Secret Key. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/atf5.png) 3. You should create a **Secret Key** for your Code module. Three parameters are available for the Secret Key: - **baseId**: You can find your Airtable file’s baseID from the URL. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/baseidson.png) - **tableName**: You can find your Airtable file’s tableName from the URL. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/tablename2*.png) - **apiKe**y: Your apiKey is the token that you have created in the previous step. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/apikey3*.png) 4. After collecting this information, navigate to **Companies** > **Your Company** > **Code Station** > **Secret Manager.** 5. Click the **Add Secret** button, add the **baseID**, **tableName**, and **apiKey** information as properties, and click the **Add Secret** button.**![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/secret5.png)** ## Create an Airtable Code Station module Before creating the Airtable Code Station module, decide which method you will use in the map and determine the required inputs and outputs for that method. You can check the methods table below: | Methods | Purpose | Input/s | Output/s | | --- | --- | --- | --- | | Retrieve all data | To add all parameters to the params object. | | isSuccess (true\|false) record (Array) | | Create record | To save the input value received from the bot under the specified title. | airtable_params_ | isSuccess (true\|false) | | Find record by params | To find the data that corresponds to the input value received from the bot. | airtable_params_ | isFound (true\|false) record (Array) | | Update record by params | To update the data corresponding to the input value received from the bot. | airtable_search_ | isUpdated (true\|false) | After you decide on your method, you can start creating your Airtable Code Station module. 1. Navigate to **Companies** > **Your Company** > **Code Station**. Click the **Add Code Block** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/acb1.png) 2. Click the **Select** button for the **Create from Template** option. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/acb2.png) 3. Click on the **Select** button for Airtable integration. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/acb3.png) 4. Select the relevant **template** (method) and **secret** key. Click the **Add Code Block** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/acb5.png) Now, you can use the Airtable template in your map.![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/acb6.png) ## Related - [Integrate Code Station](/mindbehind-integrate-code-station.md)