https://platform.openai.com/settings/organization/api-keys
Remenbering note:
How to Create an OpenAI API Key
- Go to:
👉 https://platform.openai.com/settings/organization/api-keys - Log in with your OpenAI account
(If you don’t have one, you can sign up for free) - Click “Create new secret key”
- Give it a name (optional) and generate the key — it will look like
sk-xxxx... - Important: The key will only be shown once. Copy it and store it in a safe place.
Things to Keep in Mind
- Treat the API key like a password — never post it publicly (e.g., GitHub, social media).
- In real applications, store it in environment variables (not directly in your code).
- Check your usage and billing at: https://platform.openai.com/usage