---
schema_version: "1"
id: f9cb728b77d91933b930f6ff00e439c3ea59998325154c596ad5f9f0b233145e
title: Turn On Toxicity Detection For Prompts (Beta)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/generative_ai_trust_configure_toxicity_detection.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_configure_toxicity_detection.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: aaf948fa929464614289eca192db7e2ffdeba12e18c2be88162c30d857f81e88
description: Turn on toxicity detection in prompts so you can monitor the prompts that have toxic language and modify them accordingly. These settings are applied to your Salesforce org.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Turn On Toxicity Detection For Prompts (Beta)

Turn on toxicity detection in prompts so you can monitor the prompts that have toxic language and modify them accordingly. These settings are applied to your Salesforce org.

### 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: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with an Einstein for Sales, Einstein for Platform, Einstein for Service, Einstein 1 Service, or Einstein GPT Service add-on. To purchase add-ons, contact your Salesforce account executive.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d49256e64">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d49256e64 ">To turn on toxicity detection in prompts:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d49256e64 ">View Setup </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d49256e64 ">&nbsp;</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d49256e64 ">AND</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d49256e64 ">&nbsp;</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d49256e64 ">Customize Application</td>

          </tr>
        </tbody>
      </table>

Einstein Generative AI must be enabled.

Toxicity detection in responses is turned on by default and can't be turned off. By turning on toxicity detection in prompts, you can monitor prompts that have problematic language that can lead to toxicity in responses.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_note.png)

Note Toxicity Detection in prompts is in Beta.

1. From Setup, in the Quick Find field, enter Einstein, and then select **Einstein Trust Layer**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_note.png)
    
    Note If you can’t find **Einstein Generative AI Setup**, make sure that your org meets the prerequisites for any generative AI features you plan to use. For more support, contact your Salesforce account executive (AE).
2. Click **Safety & Security**.
3. Review the beta service terms. Turn on toxicity detection in prompts.
4. Use the [reports and dashboards in Data Cloud](https://help.salesforce.com/s/articleView?id=ai.generative_ai_feedback_analytics.htm&release=264.0.0&type=5 "Share insights from your org’s Einstein generative AI audit and feedback data with your team. Use pre-built dashboards and reports, running queries, and building Data 360 reports.") to review and analyze the toxicity scores and trends.
    
    ![A toggle switch to enable or disable toxicity detection in prompts that is currently disabled.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/trust_layer_toxicity_detection_setup.png)

#### See Also

- [Toxicity Detection](https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_toxicity_detection.htm&release=264.0.0&type=5 "Einstein Trust Layer uses machine learning (ML) models to identify and flag toxic content in prompts and responses.")