- Published on
Connect VSCode to Your Salesforce Org, Quick and Easy
- Authors
- Name
- Tony Geiser
How to Connect VSCode to Salesforce
Install the Salesforce CLI from: Salesforce CLI Setup
Install the Salesforce Extension Pack from the VSCode Marketplace: Salesforce Extension Pack
Open VSCode.
Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
Select SFDX: Create Project.
Authorize an org:
- Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
- Select SFDX: Authorize an Org.
- Select a login URL.
- Log in.
Return to VSCode after authentication.
Deploy or retrieve metadata using commands in the VSCode Command Palette.