---
title: "Buzz Dealer AI sign-in for AI agents: OAuth, scopes and API keys"
description: "How an AI agent signs in to the Buzz Dealer AI MCP server and REST API: OAuth 2.1 with PKCE, the read, write and spend scopes, and personal API keys."
canonical: https://buzzdealer.ai/auth
last_updated: 2026-11-22
---

# Buzz Dealer AI sign-in for AI agents

There are two ways in. Both act for one person's account, and both can be revoked by that person at any time in the dashboard (https://app.buzzdealer.ai/connections).

## 1. OAuth, through the MCP server (most MCP clients)

1. Add the MCP server `https://mcp.buzzdealer.ai/mcp` to your client. Two tools work before signing in (get_ai_visibility_score and check_company_presence).
2. A call that needs an account answers 401 with a `WWW-Authenticate` header that names the protected resource metadata: https://mcp.buzzdealer.ai/.well-known/oauth-protected-resource/mcp.
3. That document names the authorization server, `https://app.buzzdealer.ai`. Its metadata (RFC 8414) is at https://app.buzzdealer.ai/.well-known/oauth-authorization-server.
4. Register (dynamic client registration at https://app.buzzdealer.ai/oauth/register, or a client ID metadata document), then run the authorization code flow with PKCE (S256) at https://app.buzzdealer.ai/oauth/authorize and https://app.buzzdealer.ai/oauth/token. Ask for the resource `https://mcp.buzzdealer.ai/mcp` for the MCP server, or `https://api.buzzdealer.ai/v1` for the REST API.
5. The person signs in, picks the account and the brands, and approves the scopes.

The REST API has its own protected resource metadata at https://api.buzzdealer.ai/.well-known/oauth-protected-resource (also on https://buzzdealer.ai/.well-known/oauth-protected-resource).

## Scopes

- `read`: See your balance, budget frame, the catalog, quotes, orders, reports and Reputation Agent results. Changes nothing.
- `write`: Save quotes, answer the Reputation Agent's questions, set preferences, start a scan, and start, mark and rate fixes. Spends no credits.
- `spend`: Place orders and order audits, reports and paid rescans within your budget frame, using credits you already added. It can never pay or add credits.

Read is always granted; write is ticked and spend is not, so the person ticks spend to let the AI place orders after their yes. A tool outside the granted scopes answers with the scope it needs and changes nothing.

## 2. Personal API key (agents that cannot do OAuth)

A person who owns the account creates the key in the dashboard (https://app.buzzdealer.ai/connections) and gives it to the agent. Send it as `Authorization: Bearer <key>` to the MCP server or to the REST API (https://api.buzzdealer.ai/v1). A key carries all three scopes, inside the account's budget frame.

## Rules that hold either way

- Every order is quoted first, and the person says yes to the total before anything is spent.
- Agents never pay: they spend credits a person already added.
- Rate limits are per key or connection; answers carry RateLimit headers and 429 with Retry-After when a limit is reached.

More: https://buzzdealer.ai/developers and https://buzzdealer.ai/security.
