Connecting Data Libraries to Agents

After you create a data library, assign it to your agent to ground responses with trusted data.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, and Unlimited Editions with the Einstein for Platform or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations

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

Use the Answer Questions with Knowledge action to connect your agent to a data library. This action uses a prompt template to deliver structured, citation-rich responses grounded in your indexed content. See Use the Answer Questions with Knowledge Action.