Mar 10, 2020 10:42 AM
# Shell: $ export AIRTABLE_API_KEY=YOUR_API_KEY
Where should I put this?
This is probably an obvious question, but I don’t know it.
Mar 10, 2020 10:53 AM
It is more a matter of where to not put the API key. Don’t put it anywhere publicly accessible, including anything accessible to the client.
I personally decided to store my API key on my server in a file in a directory higher up than the root of my website.
Mar 10, 2020 10:57 AM
No, I mean I get an error after putting everything except the part where it says
I just want to know where to put `$ export AIRTABLE_API_KEY=…’
Mar 10, 2020 11:05 AM
Sorry I didn’t understand your question.
Mar 10, 2020 11:10 AM
I’ve got it in the JS file I’m using, and it’s still giving me the same error, this is the only JS file im using
Mar 10, 2020 01:43 PM
In this community there are some really bright users deeply familiar with Airtable, it’s API, and a variety of scripting environments. To get good support from a community like this concerning software development issues, it’s important that you share many insights concerning and including:
When I see a URL like this I have no idea what you’re referring to. Is it a link that should show me something?
Once again - I have no context to help you debug this.
Mar 22, 2020 07:29 PM
I do not understand the purpose of your question yet? because it’s simply the key to a file in js that anyone can get.