Configuration
AI Provider Setup
Section titled “AI Provider Setup”Drizby supports three AI providers. Configure them from the Settings page in the UI.
| Provider | Models | API Key |
|---|---|---|
| Anthropic Claude | Claude 4, Claude 3.5 | ANTHROPIC_API_KEY |
| OpenAI | GPT-4o, GPT-4 | OPENAI_API_KEY |
| Google Gemini | Gemini Pro | GOOGLE_API_KEY |
Dev API Access
Section titled “Dev API Access”In development mode (NODE_ENV !== 'production'), all API endpoints accept a Bearer token:
curl -H 'Authorization: Bearer dc-bi-dev-key' http://localhost:3461/cubejs-api/v1/metaThe key defaults to dc-bi-dev-key and can be overridden via the DEV_API_KEY environment variable. This authenticates as the admin user.
Database Migrations
Section titled “Database Migrations”Drizby uses Drizzle ORM for its internal SQLite database. Migrations are applied automatically on startup.