# Agentic RAG connection

## Overview

Progress® Agentic RAG is a Retrieval-Augmented Generation (RAG) platform offered as SaaS. It is designed to index and query unstructured and structured data, such as documents, audio, video, and web content, and return grounded generative answers through Large Language Models (LLMs).  It emphasizes trust, quality metrics, and integration flexibility rather than being just a chat interface.

At a high level, Progress Agentic RAG provides:

* Indexing of unstructured and structured data in multiple formats and languages.
* RAG pipeline orchestration that retrieves relevant context and augments LLM input to reduce hallucinations and improve relevance.
* AI agents that automate data ingestion, retrieval, enrichment, and reasoning steps.
* APIs and SDKs for Python and JavaScript/TypeScript for programmatic use.

Sitefinity's native Agentic RAG connector enables you to index selected content types and make them available to AI systems through Progress Agentic RAG knowledge boxes.

For more information about knowledge boxes, see [Progress Agentic RAG documentation](https://docs.rag.progress.cloud/docs/management/knowledgebox).

> info **NOTE**: Sitefinity also provides a built-in *System connection*. Its purpose is to enable capabilities such as [Dynamically Generated Experience](https://www.progress.com/documentation/sitefinity-cms/cloud/ai-powered-capabilities/dynamically-generated-experience) and [Sitefinity AI Assistant](https://www.progress.com/documentation/sitefinity-cms/cloud/ai-powered-capabilities/sitefinity-ai-assistant) without requiring a separate Progress Agentic RAG license. Unlike user-created Agentic RAG connections, the system connection cannot be edited. You can only provide its credentials.

## Set up a connection

> info **PREREQUISITES**: You need a Progress Agentic RAG account.

To create an Agentic RAG connection, perform the following:

1. Navigate to *Administration* » *Agentic RAG connection*.
2. Click *Create a connection*.
3. In *Connection name*, enter a descriptive name that helps you identify the connection later.
4. In *Index content types...*, select which content types can be used by the Agentic RAG system for AI answers.
5. In *Index content from...*, select which sites can provide content to the Agentic RAG system.
6. Under *Knowledge box*, provide the following credentials:
   * *NucliaDB API endpoint*\
     Open your Agentic RAG knowledge box and copy the NucliaDB API endpoint from the screen.
     > info **NOTE**: Provide only the base domain part of the URL, before the `/api/` component.
   * *Knowledge box UID*\
     Open your Agentic RAG knowledge box and copy the *Knowledge box UID* from the home screen.
   * *API key*\
     Open your Agentic RAG knowledge box and navigate to *Advanced* » *API Keys*. Create a new API key with *Writer* permissions and paste it here.
7. Click *Create*.

## Content indexing

After the connection is established, Sitefinity automatically indexes the selected content types from the specified sites. The indexed content becomes available for:

Once the connection is established, Sitefinity automatically indexes the selected content types from the specified sites and sends them to the Progress Agentic RAG knowledge box as resources. In Progress Agentic RAG, each indexed Sitefinity item is stored as a resource, and the text extracted from its fields is split into searchable text blocks for retrieval and grounded answers.

The connector can index the following Sitefinity content types:

* Videos
* Static HTML in pages
* News items
* Lists
* List items
* Images
* Events
* Documents
* Content blocks
* Blogs
* Blog posts
* Dynamic content types

For each indexed item, the connector sends the following field types to Progress Agentic RAG:

* Short text fields
* Long text fields
* Number fields
* Tags and categories
* Custom classifications
  > info **NOTE**: Tags, categories, and custom classifications are supported as of version Sitefinity CMS 15.4.8627.

The indexed content becomes available for:

* AI-powered search queries
* Context-aware responses
* LLM-based content retrieval
* Hybrid backend search

## Permissions

By default, only administrators can see the *Agentic RAG connection* page. To change this, perform the following:

1. Navigate to *Administration* » *Permissions* » *Feeds and notifications*.
2. From the provider dropdown, select *ARAGProvider*.
3. Change the permissions as needed.

> info **NOTE**: If you are on version Sitefinity CMS 15.4.8627, only items with view permissions set to *Everyone* will be sent to the knowledge box. For newer versions, see [Permissions in the Agentic RAG connector](https://www.progress.com/documentation/sitefinity-cms/cloud/ai-powered-capabilities/agentic-rag-connection/permissions-in-the-agentic-rag-connector).

When making third-party calls to the knowledge box, make sure the security field in the request body is populated with an access group. This ensures that the security lookup phase is performed, and content permissions are observed.

## Use Agentic RAG with the AI assistant widget

To learn about using Agentic RAG connection with the *AI assistant* widget, see [Sitefinity AI Assistant](https://www.progress.com/documentation/sitefinity-cms/cloud/ai-powered-capabilities/sitefinity-ai-assistant).

## Use Agentic RAG with AI Search

You can use the Agentic RAG connection with AI Search widgets.

The AI Search widgets provide a conversational, context-aware search experience powered by Progress Agentic RAG. For more information, see [AI Search](https://www.progress.com/documentation/sitefinity-cms/cloud/ai-powered-capabilities/ai-search).

## Limitations

### Third-party resources missing Original file path field

Progress Agentic RAG uses the *Original file path* field to filter resources based on their source location. Resources indexed from Sitefinity have this field populated automatically. However, resources added to the Knowledge box from third-party sources may not have this field populated.

If the field is not populated, Sitefinity cannot include the resource in the AI Search results or AI Assistant conversations.

To resolve this issue:

* Populate the *Original file path* field manually. Note that if the value is not a valid URL, the AI Search results that cite the resource as a source will produce a `404` error.
* Re-upload the resource through Sitefinity to have the field populated automatically.

If a resource from the Knowledge box does not have an origin path, it will not be displayed as a result. The origin path is populated by Sitefinity when an item is displayed on a page (for example, a News item published on a page).

When a system other than Sitefinity populates a resource in the Knowledge box, it must provide an origin path that is a valid URL path. The origin path is required in order to display the URL.
