Before you start
You need a key from your OpenAI account. Only the owner or an admin can save it.1
Open your key settings
In Build, press Tools, then AI. Under Settings, press Your OpenAI key. Security’s Secrets opens.
2
Add your key
Press Add secret and name it
OPENAI_API_KEY. Paste your OpenAI key into Value, then press Save.Check that it worked
A note confirms you saved your key. Your websites use it from their next request, the preview included. In AI, the status now says your own key is in use. Settings says your website’s code picks the model.If something goes wrong
“Only the owner or an admin can add or change them.”
“Only the owner or an admin can add or change them.”
Your role can’t save secrets. Ask the owner or an admin to add the key for you.
“Couldn’t save OPENAI_API_KEY.”
“Couldn’t save OPENAI_API_KEY.”
Your key didn’t save, and the note says why. Press Save to try again.
FAQ
How do I go back to paying with credits?
How do I go back to paying with credits?
Delete
OPENAI_API_KEY in Secrets. From their next request, your websites’ AI runs on Foundable AI again, and your credits pay for it. See Add your website’s secret keys.Do I need an OpenAI account for my website’s AI?
Do I need an OpenAI account for my website’s AI?
No. Without one, your website’s AI runs on Foundable AI and your credits pay for it. See Check your website’s AI and limit its spending.
Related
Check your website’s AI and limit its spending
See what your website’s AI answered and spent.
Add your website’s secret keys
Add, replace or delete the keys your websites use.