OpenAI#
Account Access - If youโre new to OpenAI, sign up here. - Otherwise, just log in at OpenAI API.
Get Your API Key
Click on your account name (top right). Choose โView API keysโ.
Click to make a new API key.
Copy the shown API key.
Return to your
.streamlit/secrets.toml
file. Paste the API key:
openai_api_key = "YourKeyHere"