---
title: Agentforce
slug: q93b0002
canonical_url: https://docs.coveo.com/en/q93b0002/
collection: integrations
source_format: adoc
---
# Agentforce

+
<button type="button" class="integration-support-button integration-support-button--supported" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-custom-class="tooltip-integration-support" title="Coveo builds, maintains and officially supports this integration. It's covered by your Coveo contract and Coveo Support can help you with it.">
  <img class="integration-support-button__icon" src="https://docs.coveo.com/en/assets/icons/certified-shield.svg" alt="" aria-hidden="true" width="16" height="16">
  <span class="integration-support-button__label">Supported</span>
</button>
+

You can integrate Salesforce Agentforce with Coveo for Agentforce to ground AI agent responses in relevant enterprise content and classify cases in real time.

## About Agentforce

Agentforce is Salesforce's platform for building and operating AI agents.
Agentforce agents use topics to determine the type of work they should handle and actions to perform specific tasks within those topics.

Coveo for Agentforce extends [Coveo for Salesforce](https://docs.coveo.com/en/1243.md) with Coveo-powered Agentforce actions.

## Why use Coveo with Agentforce?

Coveo adds retrieval and case classification capabilities to Agentforce workflows while your teams continue working in Salesforce.

* Ground agent answers in relevant passages from [items](https://docs.coveo.com/en/210.md) [indexed](https://docs.coveo.com/en/204.md) in your [Coveo organization](https://docs.coveo.com/en/185.md).

* Help service agents classify cases in real time using the Coveo Customer Service API and Case Classification model.

* Keep the agent experience, topics, and actions in Salesforce while Coveo provides the retrieval and classification services.

## Recommended integration architecture

You install the Coveo for Agentforce package in Salesforce using Salesforce AppExchange.
Salesforce Agentforce topics invoke the package's Coveo-powered actions.
The Coveo Passage Retrieval API action sends questions to the Coveo Passage Retrieval API and returns relevant passages from the Coveo Platform.
The Coveo Case Classification API action sends case details to the Coveo Customer Service API and returns classification suggestions to Salesforce Agentforce.

![Agentforce integration architecture | Coveo for Agentforce](https://docs.coveo.com/en/assets/images/integrations/agentforce-integration-diagram.svg)

| 1 | You install the Coveo for Agentforce package in Salesforce using Salesforce AppExchange. Salesforce Agentforce invokes the package's Coveo Passage Retrieval API action, which sends questions to the Coveo Passage Retrieval API and returns relevant passages from the Coveo Platform. |
|---|---|
| 2 | The Coveo Case Classification API action sends case details from Salesforce Agentforce to the Coveo Customer Service API, which uses Coveo Case Assist to return real-time classification suggestions. |

## Prerequisites

Before you start the integration procedure, make sure you have the following:

* A valid [Coveo for Salesforce](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N30000009x8GjEAI) license, which is required to use Coveo for Agentforce.

* A Salesforce organization with [Agentforce enabled](https://help.salesforce.com/s/articleView?id=ai.agent_setup_enable.htm&type=5).

* A [Coveo organization](https://docs.coveo.com/en/185.md) with at least one [source](https://docs.coveo.com/en/246.md).

* An Anonymous search API key for the Coveo Passage Retrieval API and the prerequisites listed in the [Coveo Passage Retrieval API](https://docs.coveo.com/en/o86c8334.md).

* An Anonymous Case Assist API key, a Case Assist ID, a configured [Coveo Case Assist](https://docs.coveo.com/en/l2bg0226.md) implementation, and a [Coveo organization](https://docs.coveo.com/en/185.md) ID.

## Integrate Agentforce with Coveo

Follow these steps to install Coveo for Agentforce, configure the Coveo-powered actions, and verify the integration.

### Step 1: Install Coveo for Agentforce

Follow [Install Coveo for Agentforce](https://docs.coveo.com/en/p5fa5221.md) to install the package from Salesforce AppExchange in a production or sandbox organization.

### Step 2: Configure the Passage Retrieval API action

Follow [Set up and deploy the Coveo Passage Retrieval API action](https://docs.coveo.com/en/p5fa9004.md) to configure and deploy the action for question answering with content indexed in Coveo.

### Step 3: Configure the Case Classification API action

Follow [Set up and deploy the Coveo Case Classification API action](https://docs.coveo.com/en/p5fa9599.md) to configure and deploy the action for real-time case categorization.

### Step 4: Test the Agentforce actions

After activating the relevant Agentforce topics, follow the test procedures in the [Passage Retrieval API action](https://docs.coveo.com/en/p5fa9004.md) and [Case Classification API action](https://docs.coveo.com/en/p5fa9599.md) articles to verify that each action returns the expected result.

## Considerations

* **Coveo Analytics reporting**: Coveo for Agentforce doesn't currently support [Coveo Analytics](https://docs.coveo.com/en/182.md) reporting.

* **Separate action configuration**: Passage Retrieval and Case Classification are separate actions with different API keys, configurations, and deployment requirements.

* **License**: Coveo for Agentforce requires a valid Coveo for Salesforce license.

## What's next?

* See the [Coveo for Agentforce documentation](https://docs.coveo.com/en/p25h0487.md) for the complete installation, configuration, and action reference.

* See [Website content](https://docs.coveo.com/en/q92f3597.md) and [AI assistants and agents](https://docs.coveo.com/en/q9ad0472.md) for integration patterns to surface your indexed content.

* See the [Integration documentation directory](https://docs.coveo.com/en/q7ki1127.md) to find other systems whose content you can index in Coveo to provide Coveo for Agentforce with more relevant context.