Get Started by Using a Sample Repo
Get Started by Creating a New DX Project
Create an Application
Migrate or Import Existing Source
Release Notes
Metadata Coverage
Limitations for Salesforce DX
Previous PDF Versions
Salesforce DX tooling provides modern experience to manage and develop apps on the platform across their entire lifecycle. It brings together source-driven development, team collaboration with governance, and new levels of agility for custom app development on Salesforce based on modern best practices.
Highlights include:
Salesforce DX tooling requires the API Enabled system permission, which provides programmatic access to your org’s information.
Note
Here’s the basic order for doing your work using Salesforce DX. These workflows include the most common CLI commands. For all commands, see the Salesforce CLI Command Reference.
Optionally, install:
Get Started by Using a Sample Repo
The quickest way to get going with Salesforce DX tooling is to clone the dreamhouse-lwc GitHub repo. Use its configuration files and Salesforce application to try some commonly used Salesforce CLI commands. In addition to source code for the application, the repo includes sample data and Apex tests.
Get Started by Creating a New DX Project
Let’s say you’re a Salesforce developer who creates awesome org customizations using declarative tools and builders, such as Flow and Lightning App Builder. You’ve heard about source-driven development, and want to move in that direction. You therefore need to extract your customizations from your org and store them in a source control system, such as GitHub, which then becomes your new source of truth. But you’re not quite sure how it all works and would like to get some hands on practice using simple use cases. Keep reading!
Follow the basic workflow when you are starting from scratch to create and develop an app that runs on the Lightning Platform.
Migrate or Import Existing Source
Use the Metadata API to retrieve the code, and then convert your source for use in a Salesforce DX project.
Use the Salesforce Release Notes to learn about the most recent updates and changes to development environments, packaging, platform development tools, and Salesforce APIs.
See Also