Setup Guides & Key Generation
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

  1. Navigate to the OpenAI developer platform and sign in or create an account.
  2. From the left sidebar, click API keys (or click your profile icon and select View API Keys).
  3. Click the Create new secret key button.
  4. Provide a descriptive name (like BYOKBOT website support) and click Create secret key.
  5. Copy the generated key immediately. OpenAI will not display this key again.
  6. 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.