When making configuration changes in a Salesforce Sandbox environment, you may need to deploy those changes to your Production org. Rather than recreating changes manually, Salesforce supports several deployment methods including unmanaged packages, Metadata API tools such as VS Code (Salesforce Extensions), SFDX, and Ant Migration Tool, as well as schema comparison tools.
This article explains each method and when to use it.
Many organizations use a Salesforce Sandbox as an environment to develop and test configuration changes before deploying to their Production instance. You can refresh a Sandbox from Production, but deploying changes in the opposite direction (Sandbox to Production) requires a deliberate deployment approach.
The two primary methods for deploying Salesforce configuration changes from Sandbox to Production are:
An unmanaged package bundles your development work as a private, password-protected Force.com AppExchange package, which can then be installed into your Production instance.
Benefits:
The following component types can be included in an unmanaged package:
To make sandbox configuration changes available for copy to production or another sandbox:
To install that package in a different org:
To view and compare the Salesforce schema between two instances (for example, Sandbox vs. Production), you can use the Enterprise WSDL or a schema comparison tool.
Snapshot is an AppExchange tool that provides schema documentation and comparison capabilities. Key features include:
Note: Verify that any third-party tools referenced in this article are still current and supported before using them.
Salesforce Change Sets Documentation- https://help.salesforce.com/s/articleView?id=platform.changesets.htm&type=5
Metadata API Developer Guide- https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_intro.htm
Salesforce CLI (SFDX) Setup Guide- https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm
000384819

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.