---
schema_version: "1"
id: 6c56034b33b85cb857424c966cde549fd91d270b0c62ddabe990e56e97a0e479
title: Create a Data Detect Legacy-Managed Package Policy
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/einstein_data_detect_policy.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.einstein_data_detect_policy.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e47d534d79e70ea32a2d8627ce3ae51b274965e2e76107f8f6b6f9c932113dae
description: Data Detect legacy-managed package policies look for data patterns across fields and objects that you select. You can create multiple policies that help you find sensitive data that users inadvertently enter into fields across your org.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Create a Data Detect Legacy-Managed Package Policy

Data Detect legacy-managed package policies look for data patterns across fields and objects that you select. You can create multiple policies that help you find sensitive data that users inadvertently enter into fields across your org.

### Required Editions

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)

Note The Data Detect legacy-managed package is unavailable for Summer '26. If you enabled Data Detect legacy-managed package before Summer '26, it remains available in your Salesforce org. We recommend that you use the new Salesforce Data Detect app instead. The new Data Detect app is now part of the Shield app. See [Data Detect End of Support](https://help.salesforce.com/s/articleView?id=005132108&type=1&language=en_US).

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_important.png)

Important Due to Salesforce platform limitations, selecting an excessive number of fields for data scanning can cause processing errors. To avoid errors, select fewer fields and start with smaller datasets.

<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;">
              <p>Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and
                <strong>Developer</strong> Editions.
              </p>
              <p style="margin-bottom:0;">Requires the Salesforce Shield add-on subscription or
                the Data Detect add-on license.</p>
            </td>

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

1. In the Data Detect app, click the **Policies** tab.
2. Click **New**, and then enter a name for your policy. The name must be alphanumeric with no spaces or special characters.
3. Click **Save & Edit**.
4. At the top of the page, enter a policy description and click **Save**.
    
    ![Save a new or edited policy description.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/setup/images/edd_policy_description_save.png)
5. Under Objects & Fields section, in the Objects pane, select an object.
    
    The object detail page opens with data pattern options and a list of the object’s populated fields. By default, policies scan for all data patterns on all selected objects and fields. To narrow your search on specific patterns, deselect the patterns that you don’t want.
6. In the field list, select **Add to Policy** for each field that you want to add.
7. To include the object’s fields and pattern selections in future scans, set the object status to **Enable.**
    
    Only enabled objects are included in the scans execution. If you leave an object’s status as **Disabled**, then it’s not included in future scans. You can still save your pattern and field selections and enable them later.
8. Click **Save**.
    
    ![Object-level Data Detect policy settings.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/setup/images/edd_policy_settings.png)
9. Repeat steps 5–9 on other objects that you want to include in your policy.
    
    Your objects settings are added to your policy.