AI Configuration

Server-Side
🔒 Secure Server-Side Configuration
For security, the Anthropic API key is configured server-side using Vercel environment variables. This keeps your API key secure and never exposes it to client browsers.

How to Enable AI Chat

  1. Go to your Vercel project dashboard
  2. Navigate to Settings → Environment Variables
  3. Add variable: ANTHROPIC_API_KEY
  4. Enter your API key from console.anthropic.com
  5. Optionally add: AI_MODEL (default: claude-sonnet-4-5-20250929)
  6. Click Save and Redeploy your application

Security Benefits

  • ✅ API key never exposed to client browsers
  • ✅ Stored securely in Vercel's environment system
  • ✅ No risk of API key theft from client-side code
  • ✅ Easy to rotate or update without code changes

Documentation

For detailed setup instructions, see VERCEL_SETUP.md in the repository.

Current Status: Check the chat page to see if the API is configured. You'll see AI Active if configured, or Demo Mode if not.

Company Information

Privacy & Data

Data Storage

Company settings and chat history are stored locally in your browser using localStorage and sessionStorage. The API key is stored securely in Vercel environment variables and is never exposed to the browser.

Clear All Data

This will remove all locally stored data including chat history, company settings, and preferences.