How Salesforce Developer Experience (DX) Tooling Changes the Way You Work

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:

  • Your tools, your way. You use the developer tools you already know.
  • The ability to apply best practices to software development. Source code and metadata exist outside of the org and provide more agility to develop Salesforce apps in a team environment. Instead of the org, your version control system is the source of truth.
  • A powerful command-line interface (CLI) removes the complexity of working with your Salesforce org for development, continuous integration, and delivery.
  • Flexible and configurable scratch orgs that you build for development and automated environments. This new type of org makes it easier to build your apps and packages.
  • You can use any IDE or text editor you want with the CLI and externalized source.

Salesforce DX tooling requires the API Enabled system permission, which provides programmatic access to your org’s information.

Note

Are You Ready to Begin? 

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:

  • Salesforce Extensions for VS Code

  • Agentforce Vibes IDE

  • DevOps Center

  • 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!

  • Create an Application

    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.

  • Salesforce DX Release Notes

    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