The First Connection
Create your first AI connection to start using AI services in Umbraco.
A connection stores the credentials and settings needed to communicate with an AI provider. Before you can use AI features, you need to create at least one connection.
Prerequisites
Umbraco.AI and a provider package installed
An API key from your AI provider
Create a Connection
Log in to the Umbraco backoffice
Navigate to the AI section
Click Connections in the tree
Click Create Connection


Configure the Connection
Fill in the connection details:
Name
A display name for this connection
"OpenAI Production"
Alias
A unique identifier for programmatic access
"openai-prod"
Provider
The AI provider to use
"OpenAI"
API Key
Your provider API key
"sk-..." or "$Umbraco:AI:Secrets:OpenAIApiKey"
Connection Properties
Each connection has the following properties:
Id
Unique GUID identifier
Alias
Unique string alias for lookups
Name
Display name
ProviderId
Which provider this connection uses
Settings
Provider-specific settings (API key, endpoint, and so on)
IsActive
Whether the connection is enabled
Version
Current version number, increments with each save
Multiple Connections
You can create multiple connections to:
Separate development and production environments
Use different API keys for different teams or projects
Connect to multiple AI providers
Next Steps
The First ProfileLast updated
Was this helpful?