Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Assign a Data Library to Your Agent

          Assign a Data Library to Your Agent

          Improve your agent’s response accuracy and personalize answers with trusted data sources via Agentforce Data Library.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions with Foundations, or Agentforce 1 or Einstein 1 Editions
          User Permissions Needed
          To manage AI agent data sources: Data Cloud Architect permission set AND System Administrator profile

          To use Agentforce Data Libraries, you must have Data 360 set up. Data libraries consume Data 360 credits.

          When you create and configure a data library, the Agentforce Data Library indexes your selected knowledge articles and uploaded files in Data 360. Data 360 creates a search index and retriever for your library that your AI agent can use via the Answer Questions with Knowledge action. In Agent Builder, you can select which data library your agent uses to generate responses.

          1. From Setup, in the Quick Find box, enter Agents, and then select Agents.
          2. Click the name of your agent. Then click Open in Builder.
          3. Click the Data tab.
            1. Select a library for your agent or, to create a library, click New Library. If you select or create a library, you can configure the knowledge fields or file uploads for your data library to index. If you create a library, it can take a few minutes for the preview conversation to update.
            2. To base agent responses on all Knowledge articles and fields, select All Knowledge records and fields.
          4. Save your changes.

          To test out your changes, restart the preview conversation and then chat with your agent.

           
          Loading
          Salesforce Help | Article