Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Create a First-Generation Managed Package using Salesforce DX
If you’re an ISV, you want to build a managed package. A managed package is a bundle of
components that make up an application or piece of functionality. A managed package is a great
way to release an app for sale and to support licensing your features. You can protect
intellectual property because the source code of many components isn’t available through the
package. You can also roll out upgrades to the package.
When you’re working with your production org, you create a .zip file of metadata components
and deploy them through Metadata API. The .zip file contains:
- A package manifest (package.xml) that lists what to retrieve or deploy
- One or more XML components organized into folders
If you don’t have the packaged source already in the source format, you can retrieve it from the org and convert it using the CLI.