Agents Config
This page explains how to configure AI providers for Budibase Agents.
Before building an Agent, you need at least one AI provider enabled in your Workspace settings.
For a broader AI setup walkthrough, see Quickstart: Budibase AI.
Before you start
Make sure you have:
- Access to Workspace Settings
- Credentials for your chosen model provider
- A default model selected for testing
Configure an AI provider
- Open your Workspace Settings
- Go to the AI Config section
- Choose a provider and complete its setup form
- Save and enable the configuration
Once enabled, the provider and model become available when creating or editing an Agent.
Supported providers
Budibase supports multiple model providers:
| Provider | Summary |
|---|---|
| Budibase AI | Budibase-managed provider |
| Anthropic | Connect directly to Claude models |
| Connect directly to Gemini models | |
| Mistral | Connect directly to Mistral models |
| OpenAI | Connect directly to OpenAI models |
| OpenRouter | Connect to a broad catalog of hosted model APIs |
| Groq | Connect to high-speed hosted model APIs |
Custom provider setup
If your provider is not listed, use Connect to a custom provider.
Depending on the provider, you may need values such as:
- API base URL
- API key
- Access key and secret key
- Default model name
Use the exact values expected by your provider. Incorrect values can allow setup to save but still fail during runtime.
Validate your provider setup
Before attaching a model to an Agent:
- Confirm the provider shows as enabled in AI Config
- Confirm your target model name is available and correctly spelled
- Run a simple test from an Agent with a short prompt
- Save the successful configuration as your default team setup
Selecting models in Agents
After configuring AI Config:
- Open Agents
- Create a new Agent or open an existing one
- Click Connect AI Model
- Select the configured provider and model
For a full Agent walkthrough, see Agent building 101.
Troubleshooting
If model connection or Agent tests fail:
- Re-check API credentials and model ID
- Verify any provider-specific base URL value
- Confirm outbound internet access is allowed from your environment
- Re-run a simple prompt test after saving changes
If you are self-hosting and using Budibase AI, ensure your network allows the required outbound traffic. See Self-hosted AI features.
Related guides
Updated about 3 hours ago