Integration
Route Claude for Excel & PowerPoint through BrainstormRouter. Every cell formula and slide generation flows through your governance layer — budget limits, PII scanning, model routing, and full observability.
When Excel users connect directly to Anthropic, every request bypasses your security policies. No budget limits, no audit trail, no PII scanning. One runaway spreadsheet can burn through your API budget overnight.
In the Claude add-in settings, replace https://api.anthropic.com with
https://api.brainstormrouter.com. Use your BR API key in the x-api-key header.
Every request hits Guardian Intelligence: budget check, PII scan, rate limit, model selection. The Anthropic Messages API facade translates between formats transparently.
SSE streaming works identically to direct Anthropic. Every response includes cost tracking, model info, and audit headers. The user experience is unchanged.
The Claude add-in requires exactly three endpoints. BrainstormRouter implements all three with the Anthropic Messages API format.
| Method | Endpoint | Purpose | Auth |
|---|---|---|---|
GET |
/v1/messages |
Credential validation (add-in checks on connect) | x-api-key |
GET |
/v1/models |
Model list in Anthropic format ({data: [{id, ...}]}) |
x-api-key |
POST |
/v1/messages |
Chat completions with SSE streaming | x-api-key |
One policy engine governs all Office AI usage. Model restrictions, content filters, and rate limits apply uniformly across every Excel and PowerPoint user.
Set daily and monthly spend limits per API key. Guardian Intelligence predicts costs before execution and blocks requests that would exceed budgets.
Every request logged with user identity, model used, tokens consumed, cost incurred, and response time. Export to your SIEM or compliance system.
Simple cell formulas route to fast, cheap models. Complex document analysis routes to Claude Opus. Thompson sampling optimizes automatically.
Every request passes through the streaming firewall. Detect and block PII, credentials, and sensitive data before it reaches the provider.
Extend Excel AI with 65 MCP tools — memory queries, database lookups, web searches — all governed by the same RBAC and audit layer.
Production-tested error decoder from real Claude for Excel deployments.
| Symptom | Cause | Fix |
|---|---|---|
| Add-in says "Invalid API Key" | GET /v1/messages must return 200 (not 405) |
Ensure BR API key has Messages API access enabled |
| No models appear in dropdown | GET /v1/models must return Anthropic format, not OpenAI |
BR auto-detects x-api-key header and returns Anthropic format |
| Streaming fails mid-response | SSE event format mismatch (add-in expects event: message_delta) |
Ensure you're hitting /v1/messages not /v1/chat/completions |
| CORS errors in browser-based add-in | Add-in origin not in allowed CORS list | BR allows * origins for /v1/messages endpoints |
| Budget exceeded mid-session | Guardian blocks when daily limit is hit | Increase key budget in dashboard or wait for reset |
Go to Dashboard → API Keys → Create Key. Set a daily budget limit appropriate for the user.
Dashboard → Provider Keys → Add Anthropic. The key stays server-side; users never see it.
In Excel/PowerPoint: Claude add-in settings → API Base URL: https://api.brainstormrouter.com → API Key: your BR key.
Try a simple prompt in Excel. Check the Dashboard for the request showing up with cost and model info.
Create per-user API keys with individual budgets. Each key gets its own audit trail and usage metrics.