OpenAI documentation
How to generate an OpenAI API Key
Step-by-step guide to create a OpenAI API key for BYOKBOT bring-your-own-key website chatbots.
OpenAI consoleOpen Console
- Navigate to the OpenAI developer platform and sign in or create an account.
- From the left sidebar, click API keys (or click your profile icon and select View API Keys).
- Click the Create new secret key button.
- Provide a descriptive name (like BYOKBOT website support) and click Create secret key.
- Copy the generated key immediately. OpenAI will not display this key again.
- Go to the OpenAI billing tab and set a usage limit (hard cap) to protect your account from unexpected spikes.
Secure key environment
Your keys are encrypted using AES-256 and never logged in plain text. For absolute security, you can toggle Local Sandbox Mode which keeps keys strictly in your local browser storage cache.