Connect Anthropic to Treza

When you create a Treza redaction proxy with Anthropic as the upstream provider, you'll be asked for your Anthropic API key. Treza stores it encrypted and uses it server-side to forward your (redacted) requests to Anthropic — it's never exposed to your agents. Here's how to get one.

Create your Anthropic API key

  1. Go to the Anthropic Console and sign in (or create an account).
  2. Open Settings → API Keys (console.anthropic.com/settings/keys).
  3. Click Create Key, give it a name like treza-proxy, and create it.
  4. Copy the key immediately — it's shown once and starts with sk-ant-.
  5. Make sure your workspace has credit under Settings → Billing, or requests will fail.

Add it to Treza

  1. In the Treza dashboard, open Redaction proxiesNew proxy and set Upstream provider to Anthropic.
  2. Paste your sk-ant-... key into the Anthropic API key field.
  3. Choose which PII types to redact, then create the proxy.

Point your client at your Treza proxy's base URL and your requests will be redacted before they reach Anthropic.

Your provider key is encrypted at rest and only used to forward requests upstream. Treza never returns it to your agents or includes it in logs.