# Sign-in and keys

How assistants sign in to Cobroker, and where keys come in.

## Sign-in on a Cobroker page

Claude, ChatGPT and Grok sign in with your Cobroker account (OAuth). You approve the connection once, on a Cobroker page, by clicking **Allow**. The connection keeps working until you remove Cobroker from that assistant, or your account is suspended or is no longer admitted to the beta.

Claude Code signs in the same way. This command opens the Cobroker page in your browser:

```bash
claude mcp login cobroker
```

Today Cobroker accepts sign-in only from Claude, Claude Code, ChatGPT and Grok.
Every other agent uses a personal key.

## Personal keys

A personal key is for an agent running on your own computer that cannot sign in, such as Claude Code on a machine with no browser.

- Create one in Cobroker under **Settings › Connected AI** with **Create key**. You can give it a name.
- Settings shows the key once, inside a ready command for Claude Code and a ready prompt for any other agent. Copy the one you need then.
- A key starts with `cbk_mcp_`, for example `cbk_mcp_…`, and travels in the agent's `Authorization: Bearer` header.
- An account can hold 5 active keys. Revoke one to create another.
- Keys cannot be created until your account is admitted to the private beta.

> [!WARNING]
> A key opens your Cobroker account to whatever holds it. Keep it private, and revoke it when you stop using it. Never paste a key into a chat app or a cloud sandbox, and never put one in a URL.

## Revoke a key

In Cobroker, open **Settings › Connected AI**. Under **Personal keys**, click **Revoke** next to the key and confirm. Anything using it stops working on its next request.

## What an assistant cannot do

An assistant cannot create, list or revoke keys itself. See [What Cobroker never does](/docs/what-cobroker-never-does).
