---
schema_version: "1"
id: c7af260727559715bec3083b72741b508913d5a15812068fa4d137529650662e
title: Customize the One-Time Password Email Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/networks_one_time_password_email.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.networks_one_time_password_email.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 51d261c312640c9c5cc18c14bcd7306d6c7292fef5a37886abd26054be2f66cd
description: You can customize the email that you send to external users to verify their identity with a one-time password (OTP). The email includes a verification code that users enter to prove their identity. Control how you communicate with your customers and partners by rewording the email that comes with the verification code.
products:
  - Experiences
release: "264"
---
# Customize the One-Time Password Email Template

You can customize the email that you send to external users to verify their identity with a one-time password (OTP). The email includes a verification code that users enter to prove their identity. Control how you communicate with your customers and partners by rewording the email that comes with the verification code.

### 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: Experience Builder sites</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</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="d27384e70">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d27384e70 ">To customize or publish an Experience Cloud site:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d27384e70 ">
              <ul>
                <li>Create and Set Up Experiences AND View Setup and Configuration AND be a member
                  of the site<p>OR</p>
                </li>

                <li>View Setup and Configuration AND be a member of the site AND have appropriate
                  <a href="https://help.salesforce.com/s/articleView?id=experience.networks_access_control_overview.htm&amp;language=en_US" target="_blank">role-based site access</a>
                </li>

              </ul>
            </td>

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

Salesforce sends out an email with an OTP for email verifications in these scenarios.

- Headful passwordless login—Set up a login page for your Experience Cloud site that allows users to log in with their email address. You create a passwordless login page from your site’s Login & Registration page. See [Brand Your Identity Experience](https://help.salesforce.com/articleView?id=external_identity_branding_use_cases.htm&language=en_US).
- Headless passwordless login—Allow users to log in to your off-platform app with an email address or phone number.

Salesforce also sends an email with a one-time password for device activation email verifications. To customize this notification, see [Device Activation Email Template](https://help.salesforce.com/s/articleView?id=experience.networks_device_activation_challenge_email.htm&release=264.0.0&type=5 "Customize the email you send to verify a user's identity when they access your Experience Cloud site from an unfamiliar browser, application, or IP address. The email includes a one-time password (OTP) that users enter to verify their identity. Change the look and wording of the email to match your brand.").

The one-time password email template is available to Experience Builder sites as of Winter ’19.

1. From Setup, enter All in the Quick Find box, and select **All Experiences**. Next to your site, click **Workspaces**.
2. Select **Administration**, and then select **Emails**.
3. Under Email Templates, click ![lookup magnifying glass](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/communities/images/lookup.png) next to One-Time Password, and select **Experience Cloud: One-Time Password Email**.
4. Click **Save**.
    
    Your site is set up to send verification code notifications to users.
5. To customize the notification, edit the email template.
    1. From Setup, enter Email Templates in the Quick Find box, and select **Classic Email Templates**.
    2. Next to Experiences: One-Time Password Email, select **Edit**.
    3. Edit the text in the email body.
        
        ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-communities-264-0-0-production-enus/bf7df212-91a1-4fa3-a007-4d6f3e3b470b/images/icon_important.png)
        
        Important Don’t remove `{!Verification_Code}`.
    4. (Optional) In the email body, insert merge fields listed under Available Merge Field. To get the merge field value, select a field type, and then select a field. Copy and paste the merge field value into the email body.
        
        For example, from the Field Type dropdown, select **Network Member Fields**, and then select **Site Name**. The Merge Field Value displays `{!Community.Name}`.
    5. Click **Save**.

You can also use Visualforce to create a custom OTP email template using the `$Network` global merge field type.