Skip to main content

Quick Start

Get started with Scrub AI in just a few minutes.

Prerequisites

  • A Scrub AI account (request access)
  • An API key from your preferred AI provider (OpenAI, Anthropic, or Google)

Step 1: Get Your API Key

  1. Log in to your Scrub AI Dashboard
  2. Navigate to API Keys
  3. Click Create New Key
  4. Copy your API key (it won't be shown again)

Step 2: Configure Your Provider

  1. In the Dashboard, go to Providers
  2. Select your AI provider (OpenAI, Anthropic, or Google)
  3. Enter your provider's API key
  4. Save your configuration

Step 3: Make Your First Request

Replace YOUR_SCRUB_API_KEY with your actual API key:

curl https://api.scrub.health/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SCRUB_API_KEY" \
-d '{
"model": "gpt-5.2-2025-12-11",
"messages": [
{"role": "user", "content": "Hello, how can you help me today?"}
]
}'

That's it! Scrub AI will automatically:

  • Scan your request for PHI
  • Forward it to your configured provider
  • Return the response
  • Log everything for audit purposes

Step 4: Configure PHI Handling (Optional)

By default, Scrub AI operates in audit mode - it detects PHI and logs it, but doesn't block requests. To change this:

  1. Go to Settings in your Dashboard
  2. Choose your preferred PHI handling mode:
    • Flag/Audit - Detect and log PHI, but allow requests (default)
    • Block - Reject requests containing PHI
    • Redact - Remove PHI from requests before forwarding
    • Mask - Replace PHI with placeholder tokens

Next Steps