You should already have an Airtable account, as detailed in the Prerequisites.
Now we need to set up a base and table to store events and event reports.
- Log into Airtable. The dashboard defaults to the Bases view.
- Click the
+
icon toAdd a base
. - In the dropdown, choose Start from scratch.
- Name your base something descriptive. A base is a collection of tables, and we'll use a table inside this base to store speaking events. You can also select a color and an icon for your base.
- Once your base is set up, click on it to open it. You will see an empty table in grid view. It should look something like this:
- Rename "Table 1" to a name of your choosing. This will be the table where Speakerbot saves and reads data. For example, this table might be called
Speaking Events
. - Modify/add the table fields as described below. It's very important that the fields be named and formatted exactly as shown, otherwise, the app will not be able to read or save the data properly without further code edits:
- Name | Single line text
- Date | Date | Date format:
ISO (2020-06-16)
- Location | Single line text
- Event URL | URL
- Who's speaking? | Single line text
- Event Type | Single select
Conference
Workshop
Meetup
Podcast
Work event
Livestream
Webinar
Other
- Topic | Single line text
- Notes | Long text (no rich text formatting)
- Followup | Date | Date format:
ISO (2020-06-16)
- Est. Reach | Number | Format:
Integer (2)
(do not allow negative numbers) - Content Links | Long text (no rich text formatting)
- Event Rating | Single select
1
2
3
4
- Post Event Report | Long text (enable rich text formatting)
- Submitter Slack ID | Single line text
- Quarter | Formula:
DATETIME_FORMAT(Date,'Q')
| optional; for grouping / sorting - Report Completed | Formula:
IF({Post Event Report},"Yes","No")
| optional; for grouping / sorting
- When finished, your table's column headings should look like this:
- Add your table's name to your
.env
file in theAIRTABLE_TABLE
variable. - Examine the table's URL in the browser. It should look something like this:
https://airtable.com/[tblXXXxxx]/[viwXXXxxx]?blocks=...
- Copy the segment of the URL that begins with "tbl" to
.env
as theAIRTABLE_TABLE_ID
variable. - Copy the segment of the URL that begins with "viw" to
.env
as theAIRTABLE_VIEW_ID
variable. (It should be the "Grid view.") - In the upper right of your base view, you should see an icon of a question mark:
(?)
.
Click on this link and in the dropdown, choose API Documentation. This opens the API docs for your base. - In the Airtable API Introduction section, find the line that says:
The ID of this base is appXXXXXX.
- Copy the base ID and paste it into your
.env
file as theAIRTABLE_BASE_ID
variable. - Now return to your base view. In the upper right corner, click on your avatar icon and choose Account from the dropdown.
- You should now see your Account overview page. In the "API" section, you should see a prompt to generate an API key. After you've done this, there is a personal API key (displayed as dots in an input field). Click in the field to view the text contents. It should reveal a string starting with "key." Copy this API key and paste it into your
.env
file asAIRTABLE_API_KEY
. - Save your
.env
changes.
You are now ready to use Airtable as your data source for events! Head back to the Development docs or you can move to the next step: Development: MongoDB Setup.