---
schema_version: "1"
id: 38c736250de13ef8e6dc18ce9b3def9cebb34710d9ad104c5ca6ce1e31a8eac8
title: Ground Replies with Data Libraries
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/service_replies_data_libraries.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.service_replies_data_libraries.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9fa06be8d26d77dbfdccc55b514941c8ef0e2cf6bfb50a1c999316ab357bea18
description: To get grounded replies and use prompt templates, assign a data library. Data libraries index your knowledge articles and fields, or file uploads, so that Einstein knows which information to base responses on.
products:
  - Service Cloud
  - Service Intelligence
release: "264"
---
# Ground Replies with Data Libraries

To get grounded replies and use prompt templates, assign a data library. Data libraries index your knowledge articles and fields, or file uploads, so that Einstein knows which information to base responses on.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> editions with the Einstein for Service add-on.</td></tr></tbody></table>

To use Einstein Service Replies with a data library, you must have [Data 360 enabled](https://help.salesforce.com/s/articleView?id=data.c360_a_product_considerations.htm&type=5&language=en_US). Agentforce data library consumes Data Cloud credits.

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/images/icon_warning.png)

Warning

After assigning a data library, you can’t revert Service Replies to use context only or to use [Service AI Grounding](https://help.salesforce.com/s/articleView?id=service.einstein_generative_ai_grounding_setup.htm&type=5&language=en_US).

1. To ground Service Replies in your knowledge base or uploaded files, under Use Agentforce Data Library with Service Replies, select a data library. To create a data library, go to Agentforce Data Library Setup. See [Agentforce Data Library](https://help.salesforce.com/s/articleView?id=ai.data_library_parent.htm&type=5&language=en_US).
    
    ![Use Einstein Grounding with Service Replies enabled and an Agentforce Data Library selected.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/support_intelligence/images/reply_recommendations/service_replies_data_library.png)
    
    When you select a data library, consider the type of information you want Einstein to use as a basis for replies. Libraries that are configured to use your knowledge base can consider different fields or settings. Likewise, for libraries that configured with uploaded files, consider the information contained in the library’s file set before assigning it to Service Replies. Some considerations:
    
    - Field-level security limits the grounded responses users can see. Users only see grounded responses for fields they can access.
    - Users only see grounded responses for knowledge article versions that they can access.
    - Encrypted fields aren't supported for grounding.
    - Give agents access to the Agentforce Data Library.
2. Click **Save**.