Configure AI Providers
Connect bring-your-own-key AI providers so extraction, review, chat, and assisted workflows can run.
Better Accountant uses encrypted bring-your-own-key provider credentials.
Provider keys are configured in Settings and stored encrypted in Convex. The selected provider and model come from workspace configuration, not hidden frontend defaults.
Supported provider shape
The backend is designed around provider records that can include:
| Field | Purpose |
|---|---|
| Provider | The configured LLM provider, such as OpenAI, Anthropic, Google, Kimi, Zhipu, Bedrock, or Cloudflare. |
| API key | The encrypted secret used for extraction or chat calls. |
| Account metadata | Provider-specific details such as Cloudflare account ID, gateway ID, or Bedrock region. |
| Default model | The model used when no workflow-specific model is selected. |
Cloudflare setup
Cloudflare can run through AI Gateway/OpenAI-compatible routing when available, with Workers AI fallback when Gateway access is rejected but Workers AI is allowed.
For Cloudflare, save:
API token
Account ID
Gateway ID
Readiness checks
The dashboard shows an action item when no provider is configured. Extraction, document review, chat, and assisted accounting workflows should not be treated as ready until a provider key is available and valid.