When to use a key
Claude Code, Claude Desktop with a config file, scripts and scheduled routines send an API key instead of signing in.
Create a key
- In Your Hive, open Agents.
- Choose Add agent and pick API key, or open an agent you already have.
- Create the key. It is shown once, so copy it straight into your tool.
Claude Code
Add Pagehive with your key in place of the placeholder:
claude mcp add --transport http pagehive https://pagehive.io/mcp --header "Authorization: Bearer bp_live_..."
Keep it secret
A key can change your Hive. Never paste it into a page, a chat with someone else or a public file. Pagehive refuses to save a page that contains a live key. If a key leaks, rotate it on its agent's page.