Back to Browse

Authenticate Salesforce Org with VS Code | Run Apex Code, SOQLs in VS Code

2.0K views
Premiered Dec 29, 2022
10:24

Links : Download Salesforce CLI : https://developer.salesforce.com/tools/sfdxcli SFDX Commands: http://bit.ly/3PXxihT Timestamps : 00:00 - Intro 01:13 - Creating Project 02:36 - Authenticate Salesforce Org 04:20 - Run Apex Code in VS Code (Anonymous Apex Window Alternative) 06:24 - Run SOQL in VS Code 07:10 - Package.xml explained in short 09:05 - Deploy Class on Org through VS Code 10:00 - Duplicate Apex Script for Ease In this video, we are going to authenticate salesforce org with VS Code and run anonymous apex code as well as SOQL in VS Code instead Developer Console. To authenticate Salesforce in Visual Studio Code (VS Code), you will need to install the Salesforce Extension Pack and set up an authenticated connection to your Salesforce organization. Here are the steps to do this: ----------------------------------------------- Install the Salesforce Extension Pack in VS Code: Open VS Code and click on the extension's icon on the left side of the window (the square icon with the lines on it). In the search box, type "salesforce" and press Enter. From the list of extensions, select "Salesforce Extension Pack" and click "Install". Set up an authenticated connection to your Salesforce organization: Open the Command Palette by pressing Ctrl+Shift+P (Windows) or Command+Shift+P (Mac). Type "sfdx" and press Enter. Select "SFDX: Authorize an Org" from the list of options. Follow the prompts to log in to your Salesforce organization and authorize the connection. Once you have completed these steps, you will be able to use the Salesforce Extension Pack to access and manage your Salesforce organization from within VS Code. Twitter : https://twitter.com/salesforceguy Instagram : https://www.instagram.com/thatsalesforceguy/ Patreon : https://www.patreon.com/thatsalesforceguy . . . . . . . . . . . Search Tags : Salesforce Authentication in VS Code, Salesforce Anonymous Apex Code in VS Code, Run Apex Code in VS Code, Run SOQL in VS Code, salesforce cli, salesforce cli visual studio code, salesforce cli tutorial, salesforce cli install for vs code, salesforce cli and vs code, salesforce cli create project, how to connect salesforce cli with vscode, salesforce cli download, salesforce cli download for windows 11, download salesforce cli for vs code, salesforce cli for vs code, salesforce cli for mac, salesforce cli how to use, how to use salesforce cli, salesforce vs code setup, salesforce vs code connect to org, salesforce vs code authorize org, salesforce vs code download, vscode and salesforce cli, how to authorize an org in vs code salesforce, how to add salesforce org in vs code, how to install vscode and salesforce cli, how to create a project in vs code salesforce, vscode tutorial for beginners salesforce

Download

0 formats

No download links available.

Authenticate Salesforce Org with VS Code | Run Apex Code, SOQLs in VS Code | NatokHD