AI API Key Setup
PII Firewall routes your messages through your own AI API keys — this means your conversations never go through a shared account, and you have full control over model access and billing.
Why Your Own API Key?
| Benefit | Details |
|---|---|
| Privacy | Your API key = your account. No shared usage logs. |
| Model choice | Use the exact model version you need |
| Billing control | AI usage billed directly to your account |
| No lock-in | Switch or revoke keys at any time |
Supported Providers
PII Firewall supports three AI providers:
| Provider | Model | Key prefix |
|---|---|---|
| OpenAI | GPT-4o, GPT-4o mini | sk-... |
| Anthropic | Claude 3.5 Sonnet, Claude Haiku | sk-ant-... |
| Gemini 1.5 Pro, Gemini Flash | AIza... |
Getting Your API Key
OpenAI (ChatGPT)
- Go to platform.openai.com/api-keys
- Sign in to your OpenAI account
- Click Create new secret key
- Enter a name (e.g.,
PII Firewall) and click Create - Copy the key — it starts with
sk-and is shown only once
Billing
OpenAI requires a payment method on file before API access is enabled. Add one at platform.openai.com/billing.
Anthropic (Claude)
- Go to console.anthropic.com
- Sign in to your Anthropic account
- In the left menu, click API Keys
- Click Create Key
- Enter a name (e.g.,
PII Firewall) and click Create - Copy the key — it starts with
sk-ant-
Free tier
Anthropic offers a free tier with rate-limited access. No credit card required to get started.
Google (Gemini)
- Go to aistudio.google.com
- Sign in with your Google account
- In the left menu, click Get API key
- Click Create API key
- Copy the key — it starts with
AIza
TIP
The same key works for both Gemini and NotebookLM.
Adding Your Key in the App
- Sign in at piifirewall.com/app
- Click the + button in the chat input area
- Select API Key Settings
- Choose your provider (OpenAI / Claude / Gemini)
- Paste your key into the input field
- Click Test & Save — the app validates the key before saving
The key is stored locally in your browser session and is never sent to PII Firewall servers.
Key Security
- Keys are stored in your browser's local storage, not on our servers
- PII Firewall only forwards your key to the respective AI provider for inference
- To revoke access, delete the key from your browser settings or revoke it on the provider's dashboard
