Back to documentation
Integrations

Optional: Adding Your Own OpenAI API Key

Bring your own OpenAI key so website builds, ideas and changes run under your OpenAI account. Entirely optional.

9orb works without any API keys of your own. If you prefer, you can add your own OpenAI key: it is then used for website builds, ideas and changes, and that usage is billed by OpenAI directly to you, with full visibility in your OpenAI dashboard. App builds (the full path with sign-in, data or payments) always use 9orb's AI.

Creating a key

  1. Go to platform.openai.com and sign in (this is the API platform, a separate product from a ChatGPT plan — ChatGPT Plus does not include API credit).
  2. Open the API keys section and click "Create new secret key".
  3. Give it a recognizable name such as "9orb" so you can identify and revoke it later.
  4. Copy the key immediately. OpenAI shows it only once. Keys start with:
sk-...
New OpenAI accounts may need a payment method or prepaid credit before API calls succeed. If work that uses your key fails with quota or billing errors, check the Billing section at platform.openai.com first — it is the most common cause.

Adding the key to 9orb

  1. In 9orb, go to Settings, then API Keys.
  2. Add the key under the name OPENAI_API_KEY and save.

Once saved, the key is encrypted at rest, displayed only in masked form (the first few and last few characters), and never sent back to your browser. It is decrypted on the server only at the moment it is needed.

Setting sensible limits

We recommend setting a monthly usage limit in your OpenAI billing settings, so unexpected usage is capped.

Rotating or revoking

You can revoke the key at platform.openai.com at any time. To rotate cleanly, create the new key first, save it in 9orb, and then revoke the old one. If you remove your key altogether, 9orb simply goes back to using its own AI. See the Rotating API Keys guide for more.