Salesforce Code Builder(Beta)
Amit Chaudhary

Amit Chaudhary

Amit Chaudhary is Salesforce Application & System Architect and working on Salesforce Platform since 2010. He is Salesforce MVP since 2017 and have 17 Salesforce Certificates. He is a active blogger and founder of Apex Hours.

Salesforce Code Builder(Beta)

Join us for a session to learn all about Salesforce Code Builder(Beta). Code Builder is a modern, web-based development environment optimized for Salesforce that empowers teams to build how they want, from where they want. As promised two year ago, Salesforce finally launched the Salesforce Code Builder(Beta) powered by AWS, allows developers to launch an IDE in their browser from within their Salesforce organization.

What is Salesforce Code Builder?

Salesforce Code Builder is modern, web version of VS Code with fully optimized for Salesforce development with pre-installed Salesforce extensions and Salesforce CLI. With addition to features like code completion, search and refactoring, Code Builder ships with support for Salesforce frameworks.

It easy for Salesforce developers to develop from anywhere without downloading software (Once again no Software). Code Builder allow you to access your favorite Salesforce languages and frameworks, such as Apex, SOQL, Visualforce, Aura, and Lightning Web Components.

How to use Salesforce Code Builder

Download Code Builder (Beta) managed package from AppExchange. To learn more check Code Builder documentation. Let see how to configure the Code Builder(Beta).

Setup Salesforce Code Builder


Follow below step by step process to configure the Salesforce Code Builder.

Step 1) Download the code builder

Download the Salesforce builder from AppExchange.

Download Salesforce Code Builder(Beta)

Step 2) Assign Permission Set

Assign the Code Builder permission set to your user to access the Code Builder dashboard.

  1. From Setup, enter Permission Sets in the Quick Find box, then select Permission Sets.
  2. Click CodeBuilder.
  3. Click Manage Assignments
  4. Click Add Assignments.
  5. Select the checkboxes next to the names of the users to assign the permission set, and click Assign

Step 3) Launch the code Builder(Beta)

Click on App Launcher and then launch Code Builder (Beta). From the App Launcher, find and open Code Builder.

  • Click Get Started.
App Launcher for code builder
  • Click New Project to create a new Salesforce DX project.
Create new project in Code Builder
  • Give your project a name and choose Standard for project type.
Create New Code Builder Environment

Step 4) Connect to Your Dev Environment

After providing the project name and project type. Wizard will ask you to connect your Dev Environment. Connect to the org you plan to develop against in Code Builder. We recommend using a Dev Hub org as your development org. When prompted to log in, use the credentials associated with your development or sandbox org.

Connect to Your Dev Environment

Once you select the environment. It will ask you for username password to authenticate the sandbox or dev box. Then Click next and provide the alias name for your org.

Once you click on create button. It will create a new code environment to host the VsCode web IDE. Once it will ready a Launch button will available for you.

Step 5) Launch the Salesforce Code Builder

Welcome to Code Builder. Use Ctrl+Shift+P (Windows) or Cmd+Shift+P (macOS/Linux) to open the command palette and type SFDX to access all of the Salesforce-specific commands.

Step 6) Start Development with Salesforce Code Builder

Now if you want retrieve any component in web IDE for same you need to click on Org Browser option then click on download icon.

Start Development with Salesforce Code Builder

Now it time to do changes and deploy back in sandbox/developer org.

This is going to work similar to VS Code. Want to learn more then join our session tomorrow as live coding on Salesforce code builder.

Important Considerations for Code Builder Beta

  1. Salesforce put a capped usage for beta at 20 hours for a maximum of 30 days.
  2. Save your work and close the browser tab that is running Code Builder to stop the usage clock.
  3. Salesforce Code Builder is in open beta and is available to try on a first-come, first-served basis.
  4. Not able to find any option to install the new extension.

Recording

Summary

Salesforce Code Builder is currently in beta, and Salesforce actively collecting feedback from customer to improve the product. See Known Gaps and Issues for a list of issues Salesforce aware of.

Share this article

4 Comments

  • Thank you very much for this insightful post!

    • Glad you like our content. Please join our All about Salesforce Code Builder(Beta) session today to learn more.

  • Do you know if the later GA will also be capped like this BETA version ?
    (capped usage for beta at 20 hours for a maximum of 30 days.)

    • I guess yes, after GA limit will change for sure. As 20 hours is nothing for a Developer.

Leave a reply

Keep in Touch

Subscribe for Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3,230 other subscribers

Search

Our Supporter

RECENT POSTS

Apex Hours

Apex Hours is one stop platform to learn Salesforce skills and technology

Join our Newsletter and get tips and tricks how to explore the salesforce for free!