--- title: "Adding Data Masking Templates" description: "To add a new data masking template, do the following: Switch to the Configuration page. Navigate to Salesforce > Data Masking Templates." canonical: "https://helpcenter.veeam.com/docs/backup_salesforce/userguide/adding_templates.html" breadcrumb: "User Guide > Configuring Veeam Backup for Salesforce > Managing Data Masking Templates > Adding Data Masking Templates" dateModified: "2026-10-16" --- # Adding Data Masking Templates To add a new data masking template, do the following: 1. Switch to the **Configuration** page. 2. Navigate to **Salesforce** > **Data Masking Templates**. 3. Click **New Template** and complete the **Add Data Masking Template** wizard: 1. At the **Name** step, specify a name for the new template. The maximum length of the template name is 100 characters. [![Adding Templates](images/add_data_masking_name.png "Adding Templates")](images/add_data_masking_name.png){.toggle scale=60} 2. At the **Organization** step, choose a Salesforce organization for which you want to create the template. For an organization to be displayed in the list of available organizations, it must be added to Veeam Backup for Salesforce as described in section [Managing Salesforce Organizations](managing_organizations.md) and must have a backup. [![Adding Templates](images/add_data_masking_org.png "Adding Templates")](images/add_data_masking_org.png){.toggle scale=60} 3. At the **Data** step, modify the default template to configure data masking rules for objects and fields. After you modify the template, you can generate an example output to check whether the masking settings are configured properly. To do that, click **Preview**. ::: tips - Each field type comes with a predefined set of data masking rules that you can configure for this field. For example, for the *Email* field type, you can use either the **Email** option to instruct Veeam Backup for Salesforce to generate a random email, or the **Fixed String** option to specify the email value manually. Note that you can also select a language for some data masking rules (for example, the **First Name** rule for the *FirstName* field type). - If an object field included in the template has an empty value, you can instruct Veeam Backup for Salesforce to skip this field from processing — to do that, set the **Keep Empty Value** toggle to *On*. ::: [![Adding Templates](images/add_data_masking_data.png "Adding Templates")](images/add_data_masking_data.png){.toggle scale=60} 4. At the **Summary** step, review configuration information and click **Finish**. [![Adding Templates](images/add_data_masking_finish.png "Adding Templates")](images/add_data_masking_finish.png){.toggle scale=60} If you want to add new fields to the default template or remove some of the existing ones, you can customize the template by editing the `mask.template.default` parameter value as described in section [Configuring Advanced Settings](advanced_settings.md).