---
schema_version: "1"
id: 1cfd51914c1466547a47b495ac11a6fcde31d74b15f475239b577b7202d893db
title: Use Custom Keywords in Data Detect Scan Policies
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/data_detect_custom_keywords.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.data_detect_custom_keywords.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 078f23528e2fa59834e0e2c4516466cfc7ebb194e8488851594d54c3f9b9a57a
description: Use Data Detect Keywords to extend data governance capabilities in Salesforce by enabling precise, high-speed scanning for exact keywords and phrases within records. You can define dictionaries of specific terms such as proprietary internal codes, prohibited marketing terms, or foul language, identifying them across objects and fields. Use custom keywords or keyword dictionaries in addition to the provided sensitive data categories.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Use Custom Keywords in Data Detect Scan Policies

Use Data Detect Keywords to extend data governance capabilities in Salesforce by enabling precise, high-speed scanning for exact keywords and phrases within records. You can define dictionaries of specific terms such as proprietary internal codes, prohibited marketing terms, or foul language, identifying them across objects and fields. Use custom keywords or keyword dictionaries in addition to the provided sensitive data categories.

### 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>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> editions with the Salesforce Shield or Data Detect Licenses.</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="d123322e74">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d123322e74 ">To create, edit, and view Data Detect policies</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d123322e74 ">Manage user access to Data Detect feature</td>

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

Salesforce Data Detect can efficiently scan millions of records. The scans perform content moderation and compliance adherence. Add up to 10 keywords (specific words or phrases up to 255 characters long) plus 10 regular expressions (custom patterns). Use any combination that adds up to 20. For more than 1000 keywords, upload your own library of keywords.

1. Locate and select a policy you want to use, select **Detection Criteria** then select **Keywords**. Select **Add Keyword** or **New Keyword Dictionary** from the Keywords section.
    1. For a single keyword, enter the keyword, and **Save** or **Save & New** to add more than one keyword. Repeat as often as needed until you’ve added all your keywords.
    2. For a keyword dictionary, upload or drop a keyword .csv file, and select **Save**. If you accidentally upload the incorrect file, click **Replace File**. Upload only one keyword .csv file at a time. To add another file, delete the existing one.
2. To edit or delete a keyword, use the dropdown in the Keywords section.