Next Steps
Check out the examples in the Sample Gallery. The gallery contains sample apps that show what you can build on the Salesforce platform. They’re continuously updated to incorporate the latest features and best practices.
Ramp up quickly on Salesforce CLI with the Quick Start: Salesforce DX Trailhead project. Then dive right into development with the Build Apps Together with Package Development trail.
Looking for a more visual developer experience? We got you covered! Check out Salesforce Extensions for VS Code, which is built on Salesforce CLI.
Read the Salesforce DX documentation:
- Salesforce DX Developer Guide to learn how to manage and develop apps on the Salesforce Platform across their entire lifecycle.
- Salesforce CLI Command Reference for the complete list of CLI commands and how to use them.
- Salesforce CLI Plugin Developer Guide to learn how to develop your own plugins for Salesforce CLI.
Development Pathways
- Get Started: Use Scratch Orgs for Development
- A scratch org is a source-driven and disposable deployment of Salesforce code and
metadata. Scratch orgs drive developer productivity and collaboration during the
development process, and facilitate automated testing and continuous integration.
- As the Admin user, enable Dev Hub in your
Developer Edition, trial, or production org (if you're a
customer), or your business org (if you're an AppExchange
partner).
If you don’t have an org, sign up for a free Developer Edition org on the Salesforce Developers website.
- If you want your dev team to create scratch orgs, add them to your Dev Hub org.
- (Optional) Turn on Einstein Features in your Dev Hub to eliminate the manual steps for enabling the chatbot feature in scratch orgs.
- Clone a sample Salesforce DX project from GitHub and try out the most common CLI commands. Then check out the Salesforce DX Developer Guide and learn about Salesforce DX project configuration, scratch orgs, synchronizing your code, and other developer topics.
- As the Admin user, enable Dev Hub in your
Developer Edition, trial, or production org (if you're a
customer), or your business org (if you're an AppExchange
partner).
- Get Started: Develop Second-Generation Managed Packages
- As an AppExchange partner, use second-generation managed packaging (2GP) to organize
your source, build small modular packages, integrate with your version
control system, and better use your custom Apex code.
- As the Admin user, enable Dev Hub in your
Developer Edition, trial, or production org (if you're a
customer), or your business org (if you're an AppExchange
partner).
If you don’t have an org, sign up for a free Developer Edition org on the Salesforce Developers website.
- In the Dev Hub, enable Second-Generation Packaging.
- If you want your dev team to create 2GP managed packages add them to your Dev Hub org.
- Read all about 2GP managed packages and how to create them in the Salesforce DX Developer Guide.
- As the Admin user, enable Dev Hub in your
Developer Edition, trial, or production org (if you're a
customer), or your business org (if you're an AppExchange
partner).
- Get Started: Use a Sandbox
- Sandboxes are copies of your Salesforce org that you can use for development,
testing, and training, without compromising the data and applications in your
production org. You can turn on source tracking in your production org so Developer
and Developer Pro sandboxes automatically track changes between the production org and
your local development workspace.
- Enable source tracking in your sandbox.
- Learn how to use Salesforce CLI to create, manage, and develop with sandboxes by reading the Salesforce DX Developer Guide.