Hi @futuregerald! Thant you very much for the help.
So as you mentioned I am trying to access my airtable API key so that a form that I have built populates that a table that I have in my base.
To do that in DEV it is easy and works. In my form component and have define my constants so that I can tap into the API and i define my
//My Form component
const app_id = process.env.AIRTABLE_APP_ID;
const app_key = process.env.AIRTABLE_API_KEY;
This works for me in DEV, however when I have publish my blog, this doesn’t work as my form component doesn’t get the API_KEY neither the APP_ID
I have set environment variables in Netlify UI dashboard, however this still doesn’t work. I thought it should work, but I don’t understand why.
Given that I have my environment variables defined in Netlify UI dashboard, how can I have access to them on my form component so that I can POST the information that I want into Airtable?
Hope that this makes sense and thank you for the help.