Published on

Connect VSCode to Your Salesforce Org, Quick and Easy

Authors

How to Connect VSCode to Salesforce

  1. Install the Salesforce CLI from: Salesforce CLI Setup

  2. Install the Salesforce Extension Pack from the VSCode Marketplace: Salesforce Extension Pack

  3. Open VSCode.

  4. Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).

  5. Select SFDX: Create Project.

  6. Authorize an org:

    • Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS).
    • Select SFDX: Authorize an Org.
    • Select a login URL.
    • Log in.
  7. Return to VSCode after authentication.

  8. Deploy or retrieve metadata using commands in the VSCode Command Palette.

References: