---
schema_version: "1"
id: 72bbf09715f5a4e313741f225ae760fc262dac9a055e6a15543f011e4aa0b0dc
title: Configure Your Domain to Host Preference Forms
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/preference_center_external_site.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.preference_center_external_site.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 03d2d4b2847d28b50c1b55e1f64018279ec260ebbe353196712fd01decb85662
description: Add the domain where your preference form is hosted to the Cross-Origin Resource Sharing list so that your users can access your form. Complete this step before you host your form on an external website or before you use the default method with hosting on a static web page.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Configure Your Domain to Host Preference Forms

Add the domain where your preference form is hosted to the Cross-Origin Resource Sharing list so that your users can access your form. Complete this step before you host your form on an external website or before you use the default method with hosting on a static web page.

### 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 and Salesforce Classic in <strong>Developer</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions</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="d16336e46">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d16336e46 ">To use Preference Manager:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d16336e46 ">ManagePreferenceManager</td>
          </tr>
        </tbody>
      </table>

Every external webpage that includes a Preference Manager form must be on the allowed domain list so that Cross Origin Resource Sharing (CORS) can occur. The allowed domain list is a security measure to ensure that only certain origin locations are able to include the script to load the form.

1. From the Preference Manager dashboard, find the name of your form, click the dropdown arrow, and select **Configure Allowed Domains**.
2. Click **Add Domain**, and then enter the domain URL.
3. Save your changes.

After you add the external site to the allowed domain list, embed the preference form into your external site.