A plain-English guide for Salesforce admins who have never opened a terminal.
Starting from absolute zero — no VS Code, no Salesforce CLI, nothing.
Go to code.visualstudio.com — it will auto-detect Windows and show you the download button. Click the big blue Download for Windows button.
code.visualstudio.com/download ↗Open the downloaded file (it'll be something like VSCodeUserSetup-x64-1.xx.x.exe). Click through the installer — all defaults are fine.
Launch it from Start menu or desktop. You should see a welcome screen with a dark sidebar on the left. That's it — VS Code is installed.
Go to the Salesforce CLI download page and get the Windows installer (.exe file).
Look for Download for Windows. Run the installer — click through all defaults.
Once VS Code is back open, go to Terminal → New Terminal. A panel will open at the bottom. Type:
You should see something like @salesforce/cli/2.xx.xx win32-x64. If you see that — you're good.
In VS Code, click the Extensions icon in the left sidebar (it looks like four squares, one slightly offset). Or press Ctrl + Shift + X.
In the search box at the top, type exactly: Salesforce Extension Pack
The first result should be by Salesforce (blue tick, millions of installs). Click Install.
After install, VS Code will show a Reload Required button. Click it. The extensions activate on restart.
C:\Users\YourName\Documents\salesforce-dev. Don't use a OneDrive or cloud-synced folder for this — it can cause permission issues.
Go to File → Open Folder and navigate to the folder you just created. Click Select Folder. VS Code will reload with that folder open in the sidebar.
Press Ctrl + Shift + P to open the Command Palette. This is the most important keyboard shortcut in VS Code — it lets you search for any command.
Type: SFDX: Create Project with Manifest and press Enter.
It will ask for a project name — call it something like dev-org-project. Press Enter. Choose your folder when prompted. VS Code will create the project structure automatically.
Press Ctrl + Shift + P again. Type: SFDX: Authorize an Org and press Enter.
It will ask: What type of org? — choose Production (Developer Edition orgs use the production login URL).
It will ask for an alias — type something easy like mydevorg.
Your browser will open automatically and take you to the Salesforce login page. Log in with your Developer Edition credentials. Click Allow when asked for permissions.
Successfully authorized [youremail@example.com] with org ID 00D... and the bottom status bar of VS Code will show your org name.
To get a local copy of your org's metadata — LWCs, Apex classes, flows — right-click on the manifest/package.xml file in your sidebar and select SFDX: Retrieve Source in Manifest from Org.
Press Ctrl + Shift + X to open the Extensions panel. In the search box, type: Claude Code
Look for the extension by Anthropic and click Install.
After the extension installs, a sign-in prompt will appear. Click Sign in to Claude. Your browser will open — log in with the same Claude account you use at claude.ai.
Click Allow when asked for permissions, then return to VS Code.
Press Ctrl + Esc to open the Claude Code panel. You'll see a chat input box appear — this is Claude, running with access to your project files.
Type this to test it:
Ctrl+Shift+P → SFDX: Authorize an Org).Ctrl+Shift+P and search for "Claude Code" to find the open panel command manually. If nothing appears, reload VS Code — go to Ctrl+Shift+P → "Reload Window". If you're still not signed in, the panel will prompt you to log in first.js-meta.xml file and check the <targets> section. It needs to include lightning__AppPage or lightning__RecordPage depending on where you want to place it. Ask Claude Code to fix the meta file for you — paste the error and it will diagnose it against your actual file.js-meta.xml needs to match your org's current API version. Find yours in Salesforce Setup → Apex Classes — the version shown there is what to use. Ask Claude Code to update your meta.xml with the right version.