---
schema_version: "1"
id: 73567ccfd9d263deb8cc45af18de812c7f99da8cf0f9985f41d72a2d17202a70
title: Deploy Enablement Programs from a Sandbox to Production
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/sales-cloud/enablement/guides/enablement-deploy.md
canonical_url: https://developer.salesforce.com/docs/sales/enablement/guide/enablement-deploy.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c0c302436a13411bb627d1c7455513dbd98066875eb756d2da6fc3aba5414df8
products:
  - Sales Programs and Partner Tracks with Enablement
  - Sales Cloud
---
# Deploy Enablement Programs from a Sandbox to Production

After you create and test Enablement programs, measures, and content in a sandbox, migrate the data to production with Metadata API in change sets or Salesforce CLI.

| User Permissions Needed                                            |                                                                                                                                                                                                |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| To access Enablement programs and measures:                        | Design and Deliver Enablement Programs OR Design and Deliver Enablement Lite Programs                                                                                                          |
| To access Digital Experiences content for program exercises:       | Content Manager contributor role in the Enablement workspace in Digital Experiences                                                                                                            |
| To access assessment surveys used with Feedback Request exercises: | Read on Surveys (enabled on the default Manage Enablement Essentials permission set and the default Manage Enablement Lite Essentials permission set) AND Sharing access to assessment surveys |
| To access Einstein Coach used with Feedback Request exercises:     | Use Einstein Coach AND Use Conversation Insights for Sales AND Prompt Template User default permission set                                                                                     |
| To access a site used with a Partner Enablement program:           | Create and Set Up Experiences OR Customize Application OR Member of a supported Experience Cloud site                                                                                          |

Complete these steps using change sets or Salesforce CLI. For help with change sets or Salesforce CLI, check out these resources first.

- _Salesforce Help_: [Change Sets](https://help.salesforce.com/s/articleView?id=platform.changesets.htm&language=en_US&type=5)
- _Salesforce Developers_: [Deploying and Retrieving Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/file_based.htm)
- _Salesforce Developers_: [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_top.htm)
- _Trailhead_: [Package.xml Metadata Management](https://trailhead.salesforce.com/content/learn/modules/package-xml)

## 1. Retrieve Metadata from Source Org

From the source org, retrieve the program’s dependencies first, then retrieve the program.

1. If the program has Audio Recording, Document, Event, Lesson, Link, Other, and Video exercises, export the corresponding Digital Experiences content. See [Import and Export Content with Salesforce CMS](https://help.salesforce.com/s/articleView?id=xcloud.cms_import_export_overview.htm&language=en_US&type=5).
2. If the program has Feedback Request exercises for peer and manager feedback, retrieve the corresponding assessment surveys by using the [FlowDefinition metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_flowdefinition.htm).
3. If the program is for Partner Enablement in a supported Experience Cloud site, retrieve the site by using the [Network metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_network.htm).
4. Retrieve the Enablement measures associated with the program’s outcome and milestones by using the [EnablementMeasureDefinition metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_enablementmeasuredefinition.htm).
5. Retrieve the program by using the [EnablementProgramDefinition metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_enablementprogramdefinition.htm).

## 2. Deploy Metadata to Destination Org

In the destination org, deploy the program’s dependencies first, then deploy the program.

1. Import the Digital Experiences content to the Enablement workspace, and publish the content.
2. If the program has Feedback Request exercises for peer and manager feedback, import the corresponding assessment surveys by using the [FlowDefinition metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_flowdefinition.htm).
3. If the program has Feedback Request exercises that use Einstein Coach, make sure that Einstein Coach and Einstein Conversation Insights (ECI) are turned on. See [Set Up Einstein Coach](https://help.salesforce.com/s/articleView?id=sales.enablement_setup_einstein_coach.htm&language=en_US&type=5).
4. If the program is for Partner Enablement in a supported Experience Cloud site, deploy the site by using the [Network metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_network.htm).
5. Deploy the Enablement measures associated with the program’s outcome and milestones by using the [EnablementMeasureDefinition metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_enablementmeasuredefinition.htm).
6. Deploy the program by using the [EnablementProgramDefinition metadata type](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_enablementprogramdefinition.htm).
