Skip to content

AI Overview

AI is optional. Connect your own API key or have an admin set a server-wide key. Everything else works without it.

The AI features are split across these pages:

Supported Providers

ProviderRecommended Model
OpenAIgpt-5-mini
Anthropicclaude-sonnet-4-6
Google Geminigemini-3-flash-preview
OpenAI-compatible

Getting an API key

Create an API key from your provider's developer platform:

Per-User Setup

Configure your provider, API key, and model in Settings → AI. AI features activate immediately after saving.

Server-Wide Setup (Admin)

Admins can configure a shared AI key via environment variables so all users get AI features without individual setup:

ini
AI_PROVIDER=openai
AI_API_KEY=sk-...
AI_MODEL=gpt-5-mini
# For OpenAI-compatible endpoints:
AI_ENDPOINT_URL=https://your-endpoint.example.com/v1

Users can still configure their own keys in Settings → AI, which takes precedence over the server-wide key.

INFO

Set AI_ENCRYPTION_KEY to an AES-256-GCM key to encrypt stored API keys at rest. Without this, keys are stored as plaintext in the database.