Skip to content

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?

BenefitDetails
PrivacyYour API key = your account. No shared usage logs.
Model choiceUse the exact model version you need
Billing controlAI usage billed directly to your account
No lock-inSwitch or revoke keys at any time

Supported Providers

PII Firewall supports three AI providers:

ProviderModelKey prefix
OpenAIGPT-4o, GPT-4o minisk-...
AnthropicClaude 3.5 Sonnet, Claude Haikusk-ant-...
GoogleGemini 1.5 Pro, Gemini FlashAIza...

Getting Your API Key

OpenAI (ChatGPT)

  1. Go to platform.openai.com/api-keys
  2. Sign in to your OpenAI account
  3. Click Create new secret key
  4. Enter a name (e.g., PII Firewall) and click Create
  5. 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)

  1. Go to console.anthropic.com
  2. Sign in to your Anthropic account
  3. In the left menu, click API Keys
  4. Click Create Key
  5. Enter a name (e.g., PII Firewall) and click Create
  6. 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)

  1. Go to aistudio.google.com
  2. Sign in with your Google account
  3. In the left menu, click Get API key
  4. Click Create API key
  5. Copy the key — it starts with AIza

TIP

The same key works for both Gemini and NotebookLM.


Adding Your Key in the App

  1. Sign in at piifirewall.com/app
  2. Click the button in the chat input area
  3. Select API Key Settings
  4. Choose your provider (OpenAI / Claude / Gemini)
  5. Paste your key into the input field
  6. 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

Next Steps

Privacy by Design.