Integrations

OpenAI BYOK setup in Bello Bot

Run your bots on your own OpenAI account, with your own rate limits and invoices.

Illustration of the app. Scout is an example bot.

The short answer

To bring your own OpenAI key to Bello Bot, the org owner adds it in Settings, runs the key test, and picks OpenAI models per bot or as the org default. The key is stored encrypted and only its last four characters are shown. Replies on your key are never moved to another provider.

Step by step

  1. Create an API key in your OpenAI account.
  2. As the org owner, open Settings and add it under OpenAI.
  3. Run the key test, which lists OpenAI models.
  4. Pick an OpenAI model per bot, or set it as the org default.
  5. Optionally set an allow-list of models and a monthly budget.

What the key test sends

What the key test sends (src/billing.rs probe)
GET https://api.openai.com/v1/models
Authorization: Bearer <your key>

Pass: "Key works."
Fail: "HTTP <status>: <first 200 characters>" with the key redacted

Policy snippet

Rules do not depend on the model or whose key it runs on. This starter set applies to every bot, whichever provider answers. Tool names come from each connector's MCP server. Confirm them in the activity log or with the policy test, then replay the rules before you save.

[
  { "name": "Never delete", "effect": "deny", "priority": 10, "tool_glob": "*__delete_*" },
  { "name": "Ask before writes", "effect": "ask", "priority": 40, "tool_glob": "*__update_*" },
  { "name": "Ask before creating", "effect": "ask", "priority": 40, "tool_glob": "*__create_*" }
]

How keys are handled

Picking and paying for models

Related reading

Questions

Who can add the key?

Only the org owner can add, test or remove provider keys.

Can anyone read the key back?

No. It is stored encrypted and only its last four characters are shown.

What happens if OpenAI fails?

A reply on your own key is not moved to another provider, so your traffic stays with OpenAI.

Keep reading

More integrations and recipes

Sentry incident triage with approvals · How to install Bello Bot in Slack · Slack bot with approvals

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.