pagehive

Claude Code and API keys.

Connect scripts, routines and Claude Code with a key.

Updated 12 Nov 2026Guide 5 of 8

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

  1. In Your Hive, open Agents.
  2. Choose Add agent and pick API key, or open an agent you already have.
  3. 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.