---
schema_version: "1"
id: a3474829e060063b60194d83fc7ca5f1c6f1be11c95be201e1c72d6de8e0388b
title: Ground with Cases
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/einstein_generative_ai_ground_cases.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.einstein_generative_ai_ground_cases.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f1626aac0881a77795ecf53dbbdda880dc4a051129010c9a5c33b819346db327
description: Select the subject, description, and additional Case fields for Einstein to ground on. Einstein uses details from your selected case fields to draft personalized responses. To draft case summaries, you can also use case feed as a grounding source in addition to the selected case fields. Case feed includes crucial details like system updates, user comments, email messages, and status changes.
products:
  - Service Cloud
  - Service Intelligence
release: "264"
---
# Ground with Cases

Select the subject, description, and additional Case fields for Einstein to ground on. Einstein uses details from your selected case fields to draft personalized responses. To draft case summaries, you can also use case feed as a grounding source in addition to the selected case fields. Case feed includes crucial details like system updates, user comments, email messages, and status changes.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=service.einstein_service_intro.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

1. In Service AI Grounding Setup, under the Case tab, select **Edit**.
2. Under Required Fields, select **Subject Field** and **Description Field**. The subject and description fields are required for grounding on the Case object. You can choose the default subject and description fields or use custom fields. However, if the subject and description fields are encrypted, email generation fails because they can't be used for grounding. Case comments and emails are included for grounding by default.
    
    ![Case field mapping setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/support_intelligence/images/service_grounding/service_grounding_cases.png)
    
    For example, you can replace the default subject field with a custom field labeled Contact Reason. Or, if you don’t want to limit yourself to a specific case type, choose widely used fields in the required section, and then add fields in the additional fields selection.
    
    ![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 Only ground on fields that contain information that can be exposed to customers.
3. Under Additional Fields, select any other fields you want Einstein to consider for grounding. Additional fields can’t repeat as required fields. Service AI Grounding only supports String and Text Area type fields.
4. Click **Save**.
5. Activate grounding for your Case records.
    
    ![Case grounding toggle in the active position](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/support_intelligence/images/service_grounding/egr_activate_case.png)

Einstein begins indexing your cases. Indexing can take several hours depending on the number of cases you have in Salesforce.

To consider case comments or emails when you ground for Knowledge Creation, go to Additional Object Grounding Options and select **Include Case Emails** and **Include Case Comments**.

![Additional Object Grounding Options, Include Case Emails and Include Case Comments checkboxes 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/service_grounding/service_grounding_additional_cases.png)

Review these limitations and considerations before using Case comments as a grounding source for Case Summaries.

- Attachments like PDFs, Excel files, Word documents, and images, don’t appear in case comments.
- Images added directly to the case comments appear as a text placeholder, regardless of the file type. For example, \[Image: Screenshot 2025-11-07 at 15.02.37\].
- Links added to case comments show both the title and the full URL. For example, Title: help.salesforce.com URL: https://help.salesforce.com/s/articleView?id=service.service\_learn.htm&type=5.

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

Important

- Field level security limits the grounded responses that users can see. Users only see grounded responses for fields that they can access.
- Encrypted fields aren’t supported for grounding. Einstein can’t ground on or make predictions for encrypted fields.
- Service AI Grounding only supports String and Text Area type fields.
- If Personally Identifiable Information (PII) is enabled for relevant fields, the case summary limit is 262,144 characters. If PII is disabled, the limit is 65,536 characters.

- **[Use Case Feed as a Grounding Source for Case Summaries](https://help.salesforce.com/s/articleView?id=service.einstein_generative_ai_ground_case_feed.htm&release=264.0.0&type=5)**  
    Case Feed ‌includes direct text entry and posts with attached links and files. A higher number of grounding posts will increase token costs ‌and case summary generation times. To mitigate this, we limit grounding posts to a maximum of 100.