For the complete documentation index, see llms.txt. This page is also available as Markdown.

Deploy Support

Deploy Umbraco AI entities like connections, profiles, and prompts between environments.

Deploy support enables you to version control and deploy your Umbraco.AI configuration across environments (development, staging, production).

What Gets Deployed

With Deploy support installed, these AI entities are automatically deployed:

  • Connections - Provider settings and connection configuration

  • Profiles - Model selection and capability-specific settings (chat, embedding, speech-to-text)

  • Contexts - Reusable context resources for AI operations

  • Guardrails - Input/output safety and compliance rules

  • Settings - Default profile assignments (chat, embedding, classifier)

  • Prompts - Prompt templates and scoping (requires Umbraco.AI.Prompt.Deploy)

  • Agents - Agent definitions, tool permissions, and workflows (requires Umbraco.AI.Agent.Deploy)

How It Works

When you save an AI entity in the Umbraco backoffice, Deploy automatically:

  1. Creates a deployment file in your repository (e.g., data/Revision/umbraco-ai-connection__*.uda)

  2. Commits the file to version control alongside your code

  3. Deploys the configuration when you push to other environments

Your AI configuration follows the same deployment workflow as your content types and other Umbraco configuration.

Packages

Package
Purpose

Umbraco.AI.Deploy

Core Deploy support for Connections, Profiles, Contexts, Guardrails, and Settings

Umbraco.AI.Prompt.Deploy

Deploy support for Prompt templates

Umbraco.AI.Agent.Deploy

Deploy support for AI Agents

Installation

Install the packages you need via NuGet:

See Installation for detailed setup instructions.

Key Features

Sensitive Data Protection

Deploy automatically filters sensitive data like API keys to prevent secrets from being committed to version control.

Use configuration references (e.g., $Umbraco:AI:Secrets:OpenAIApiKey) instead of hardcoded values to keep secrets safe. See Configuration for details.

Dependency Resolution

Deploy automatically resolves dependencies between entities:

  • Profiles depend on Connections (and any Guardrails referenced in chat profiles)

  • Prompts can optionally depend on Profiles, plus any referenced Guardrails

  • Agents can optionally depend on Profiles, plus any referenced Guardrails

  • Settings can optionally depend on the Profiles they reference

If you deploy a Profile, Deploy ensures its Connection is deployed first.

Multi-Environment Support

Deploy the same AI configuration to multiple environments:

  • Development - Use test API keys from configuration

  • Staging - Use staging API keys from configuration

  • Production - Use production API keys from configuration

Each environment resolves configuration references from its own appsettings.json.

Next Steps

Last updated

Was this helpful?