Integrations

xAI Grok BYOK setup in Bello Bot

Run Grok models in hosted bots on your own xAI account, and Grok locally on your Mac.

Illustration of the app. Scout is an example bot.

The short answer

To bring your own xAI key to Bello Bot, the org owner adds it in Settings, runs the key test, and picks Grok models per bot or as the org default. The key is encrypted and only its last four characters are shown. Separately, the Mac app can run Grok locally in private chats.

Step by step

  1. Create an API key in your xAI account.
  2. As the org owner, add it in Settings under xAI.
  3. Run the key test, which lists xAI models.
  4. Pick a Grok model per bot, or set it as the org default.
  5. For local work, pick Grok (my Mac) in a private chat on the Mac app.

What the key test sends

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

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

Hosted Grok and local Grok

Coming from Grok

Bello Bot imports bots and chats from grok.com. A bookmarklet on grok.com posts them with a single-use token that expires after 15 minutes.

Related reading

Questions

Can I import my Grok bots?

Yes. Bello Bot imports bots and chats from grok.com with a bookmarklet.

Is local Grok the same as my xAI key?

No. Local Grok runs on your Mac in private chats. Your xAI key runs Grok in hosted bots.

Who can add the key?

Only the org owner.

Keep reading

More integrations and recipes

Anthropic Claude models in Bello Bot · Anthropic Claude BYOK setup · Claude Code with Bello Bot

Try Bello Bot with your team

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