Skip to content
keiserjb edited this page Nov 19, 2026 · 7 revisions

AI

AI supplies the provider connections, default models, and shared APIs used by Backdrop’s AI modules. Start here to connect a provider, then enable the features you want.

Set up a provider

  1. Install AI and Key using the official Backdrop CMS instructions. AI requires PHP 8.2 or later.
  2. Install and enable the separate provider module for your chosen service. Create a Key entry if the service needs credentials.
  3. Open Configuration → AI → Settings (admin/config/ai/settings). Enable the provider under Providers, select its key if applicable, and save.
  4. Under Default Models, select models for the operations you plan to use.
  5. Enable AI Explorer to try a short chat prompt or another operation before configuring a feature module.

Manage models and diagnose requests

  • If a model is missing, check whether the provider is enabled and whether it exposes a model for that operation. Review Model Capabilities at admin/config/ai/settings/capabilities. Choose Configure by a provider and use Override to replace automatic assignments for a capability.
  • The Model catalog tab at admin/config/ai/settings/catalog manages the optional synced model and pricing metadata. Provider support still determines which operations can run.
  • Check credentials and the selected model after a failed request. With API logging enabled, inspect AI Logs at admin/reports/ai, which requires access site reports. Consider AI Privacy before logging request and response content.

Included modules

See AI Example Provider for a developer starter example and the repository documentation for provider architecture.

Clone this wiki locally