How to integrate Umbraco AI In Backoffice Using Umbraco AI Packages

Integrating Umbraco AI in the Backoffice Using Umbraco AI Packages

Umbraco

Introduction

Umbraco AI packages are very helpful for daily development tasks in the Backoffice. Using Umbraco Copilot, developers can create templates based on specific requirement,generate content, and perform multiple tasks by simply providing commands.

In this blog, I will explain how to set up Umbraco AI locally and integrate it into the Backoffice step by step.

Required Packages

Install the following NuGet packages:

  • dotnet add package Umbraco.AI --version 1.0.0
  • dotnet add package Umbraco.AI.OpenAI --version 1.0.0
  • dotnet add package Umbraco.AI.MicrosoftFoundry --version 1.0.0
  • dotnet add package Umbraco.AI.Agent --version 1.0.0
  • dotnet add package Umbraco.AI.Agent.Copilot --version 1.0.0-alpha1

Step 1: Install the Umbraco.AI Package

Open Visual Studio, go to the Package Manager Console, and install the Umbraco.AI package.

umbraco ai package install

After installation, run the project and open the Backoffice. Navigate to the Settings section, where the UI will appear as shown in the image below.

umbraco ai ui

Step 2: Verify AI Options in Backoffice

After exploring all available options, you may notice that no AI-related configuration is visible yet. This is because at least one AI provider package is required, such as (e.g., Umbraco.AI.OpenAI, Umbraco.AI.MicrosoftFoundry)

umbraco ai backoffice

Step 3: Install AI Provider Packages

umbraco provider 1 umbraco provider 2

Once installed, open the AI section in the Backoffice settings. You will now see options to configure AI connections, as shown in the image.

umbraco provider

Step 4: Configure Microsoft AI Foundry

Click on Microsoft AI Foundry. A configuration window will open.

Fill in all required details. Since we are an Azure Partner, accessing the API key and API endpoint from the Azure portal is straightforward.

umbraco azure

Step 5: Create a Chat Profile

Create a new Chat Profile:

  • Set the profile name as required
  • Select the previously created AI connection
  • Choose the appropriate dedicated AI model

Refer to the images for configuration guidance.

umbraco chat profile 1 umbraco chat profile 2

Step 6: Install the AI Agent Package

To use AI functionality inside the Backoffice, a specific Agent is required.so Install Umbraco.AI.Agent.

umbraco ai agent 1

After installation, configure the agent settings:

  • Select the AI profile created earlier
  • Add a clear description explaining the role of the agent

umbraco ai agent 2

Step 7: Install the Copilot Package

To interact with AI using commands, a chatbot interface is required.so need install package of Umbraco.AI.Agent.Copilot

umbraco copilot 1

After installation, the Copilot UI will appear in the Backoffice. At the bottom, you will also see an option to select the configured agent.

umbraco copilot 1

Step 8: Create Contexts

Contexts define what information the AI is allowed to access.

Create the required context entries, such as brand voice and text, as shown in the images.

umbraco contexts 1 umbraco contexts 2

Step 9: Configure the Default Chat Profile

Open Settings and configure the default chat profile so that AI can easily access the configured LLM and model.

umbraco ai setting

Step 10: Final Result

All configurations are now complete.
Umbraco AI is successfully integrated and working in the Backoffice.

From a developer’s perspective, this setup is extremely useful—it improves productivity, simplifies content and template creation, and makes daily development tasks much easier.

The final AI experience in the Backoffice is shown in the images below.

umbraco ai final 1umbraco ai final 1

Written by
Nishant
Nishant Vaghasiya

Related Blogs blue-line-vector-3

Overview of common Umbraco security vulnerabilities and risks in 2026
16 January 2625 min read
Umbraco
Top 10 Umbraco Security Vulnerabilities that You Must know in 2026 Umbraco is a stable and versatile CMS, and even powerful platforms cannot resist security …
Read More
Custom AI Content generator dashboard built in Umbraco 17 backoffice
18 December 2520 min read
Umbraco
How I Built an AI Content Generator Dashboard in Umbraco 17 In this blog, I have shown how my App Plugin AI Content Helper generates descriptions dire…
Read More
How to use Arro Simple Form in Umbraco 13 to 17
18 December 2515 min read
Umbraco
How to use Arro Simple Form in Umbraco 13 to 17 Arro Simple Form is a dynamic form for Umbraco work with version 13 to 17 by help of Arro …
Read More