Appearance
Guided Workshop Setup
Sign up for a Salesforce org
Follow the instructions of your instructor to get a Salesforce org provisioned with Data Cloud, Prompt Builder, and Agents.
Make sure that you write down your user ID and password. You'll need them again later in this workshop.
In your browser, go to login.salesforce.com and log in to your org.
Enable and launch Code Builder
In this workshop, you'll use Code Builder to deploy Apex classes in some Prompt Builder and Agent exercises. Code Builder is a web-based integrated development environment (IDE) built upon the core functionalities of Visual Studio Code (VS Code). It provides a development experience similar to using VS Code with the Salesforce extensions installed, but entirely within a web browser.
Step 1: Launch Code Builder
Click the Setup icon (gear icon in the upper right corner), and click Setup.
In Quick Find, search for Code Builder, and select Code Builder.
Dismiss the error message. This is due to the pre-installation of Code Builder.
Click the Enable Code Builder toggle to enable Code Builder. Review and accept the license agreement.
Click the App Launcher icon (waffle icon in the upper left corner), and select the Code Builder app.
In the Code Builder Dashboard, click the Launch button.
TIP
It will take a few minutes for Code Builder to fully initialize. Wait for the Let’s Get You Started page to appear before you continue.
Step 2: Authorize your Org
You need to connect Code Builder to your org to be able to deploy code:
Open the command palette (press
CMD+SHIFT+P
on Mac orCTRL+SHIFT+P
on PC).Search for Authorize an Org. If it is not yet available, wait for Code Builder to fully initialize. If this command is not available, please follow the steps below to create a new project.
Select SFDX: Authorize an Org.
Select Project Default.
Enter
AI-WORKSHOP
for the org alias and press Return.Click Connect.
Log in to your org using your credentials.
Click Allow.
Click Continue.
TIP
Since Code Builder takes some time to load, we recommend that you leave it open in a browser tab.
Optional: Create an SFDX Project
Open the command palette (press
CMD+SHIFT+P
on Mac orCTRL+SHIFT+P
on PC).Search SFDX and click on SFDX: Create Project with Manifest.
Click Standard.
Enter
AI_NOW_WORKSHOP
for the org name and press Return.
The project will now load and you can repeat Step 2 to authorize your org.