Create a Salesforce DX Project

A Salesforce DX project has a specific structure for your org’s metadata (code and configuration), templates, sample data, and tests.

Store these items in a version control system (VCS) to bring consistency to your team’s development processes. Retrieve the contents of your team’s repository when you’re ready to develop a new feature.

Create a new DX project in the directory where you want your Salesforce Functions project to be located.

  • -n (required) name of the generated project

The CLI creates the project directory structure. The project contains base project configuration and scratch definition files, and directories for your tests and sample data sets.

For more information, see Create a Salesforce DX Project.

In VS Code, from the Command Palette, choose SFDX: Create Project. Select Standard standard project template(default) and enter a project name.