Create and Manage LLM Connections
LLM connections store your provider API keys as reusable credentials that can be shared across multiple endpoints. When you have several endpoints using the same provider, this approach simplifies both initial setup and ongoing credential management.
Accessing LLM Connections
Navigate to http://localhost:5000/#/settings and click on the LLM Connections tab.

Creating an LLM Connection
- Click Create button
- Enter a unique name for the connection (e.g.,
my-openai-key) - Select your provider from the dropdown (OpenAI, Anthropic, Google Gemini, etc.)
- Choose the authentication method if multiple options are available
- For example, OpenAI supports both standard API key authentication and Azure-specific authentication
- Enter your credentials (displayed as masked inputs for security)
- Fill in any provider-specific configuration fields:
- Azure: Endpoint URL
- GCP: Project ID
- Click Create

Working with Existing Connections
The LLM Connections page displays all your configured connections along with important metadata:
- Endpoints using this connection: See which endpoints depend on each connection
- Last updated: When the credentials were last modified
- Created date: When the connection was originally created
The credential values remain masked for security.
Editing Connections
To update credentials for a provider:
- Locate the connection in the LLM Connections list
- Click the Edit button
- Update the API key value
- Click Save
All endpoints using this connection will automatically use the new credentials without requiring any configuration changes.
Deleting Connections
When deleting a connection:
- The system warns you if any endpoints currently depend on it
- Review the warning to prevent accidental disruptions
- Confirm deletion only after ensuring no active endpoints need the connection
Creating reusable LLM connections simplifies credential rotation. When you need to update an API key, edit the connection once rather than updating every endpoint individually.
Best Practices
- Use descriptive names: Name connections by provider and purpose (e.g.,
openai-production,anthropic-dev) - Separate development and production: Use different connections for different environments
- Minimize connection sharing: Create separate connections when different teams or applications need isolated access
- Regular rotation: Periodically rotate API keys for security (see Encryption & Rotation)