Skip to main content

SFDX Integration with Salto

Written by Support

For Salesforce environments, Salto offers the option to maintain the environment configuration as a textual representation in an SFDX project format, instead of the general-purpose NaCl format used for other enterprise applications. This setup enables users to leverage tools like VS Code and the SFDX CLI to create Salto deployments directly from SFDX pull requests.

To learn more about creating a Salto deployment from a pull request, please refer to this guide.

For enable SFDX project configuration:

Go to Environment Settings → Version Control → Connect Git. In the "Define your Git usage" step, choose Automatic push and turn on 'Maintain configuration in an SFDX project'. The option is available only for environments with a single Salesforce application.

Already connected to Git?

Disconnect the branch in Version Control, then connect again with the SFDX option on. We recommend using a new branch. If you reuse the same branch, Salto replaces all of its existing files with an SFDX project, and the previous files remain only in the Git history.
​

If the ‘Maintain configuration in an SFDX project’ flag is not available in your Salto organization, please reach out to our support, and we will enable it for you.

Did this answer your question?