News / Developers

Salesforce AI Powered Code Builder Now Generally Available

By Andrew Cook

Back in 2022, Salesforce revealed Code Builder – a web-based development environment fully optimized for Salesforce development and powered by Microsoft’s Visual Studio Codespaces. Since then it has been in beta for developers to try out. That is, until now…

Today, Salesforce have officially announced that Code Builder is now Generally Available. In this post, I’ll take you through what Code Builder is, what you can do with it, how to install, and the differences between the beta and GA versions.

What is Code Builder?

Salesforce Code Builder is an online development tool designed to enhance coding for the Salesforce platform. It’s like an internet-based version of Microsoft’s Visual Studio Code, making it easy for those already familiar with VS Code to use.

It’s a fresh, open, and adaptable development toolset that’s been integrated into a new web-based environment (IDE). This means that developers, administrators, and architects can enhance their productivity and creativity by accessing the latest Salesforce development tools. 

It also includes AI that can turn natural language into code, and developer extensions available on the Open VSX marketplace, allowing you to easily customize your CRM right from your web browser.

What Can I Do With Code Builder?

Salesforce Code Builder empowers developers, administrators, and architects in the following ways:

  • Easy Customization: It allows you to start customizing Salesforce right from your web browser with just a few clicks. You can deploy a web-based integrated development environment (IDE) loaded with Salesforce extensions, CLI tools, programming languages. Plus frameworks like Lightning Web Components, Apex, SOQL queries, and more. No need for installation, configuration, or updates to access these features.
  • Speedy Development with AI: Developers can accelerate their coding tasks using generative AI powered by Einstein for Developers. This AI helps you code faster, increase productivity, and perform tasks like generating, testing, debugging, and refactoring code. Einstein for Developers is tailored for Salesforce languages and frameworks and is available through a separate extension.
  • Flexibility and Familiarity: Code Builder provides flexibility by allowing developers to customize it with third-party extensions from the Open VSX marketplace. This marketplace is a community-driven platform for sharing and using VS Code extensions, enabling you to create a feature-rich IDE experience that supports DevOps workflows and source-driven development.

Installing Code Builder

  1. From Setup, enter “Code Builder” in the quick find box, then select Code Builder.
  2. Enable Code Builder, and then review and accept the license agreement, which allows you to install the package.You can disable the preference at any time. If Code Builder is already installed, disabling the preference prevents access to the Code Builder application.
  3. Click Install Package. After the installer launches, you’re guided through the installation process to install the latest version of the Code Builder managed package. You can come back to this Setup page to reinstall or upgrade the package.
  4. Select Install for All Users, and then click Install.
  5. Approve third-party access and click Continue.

When the installation is complete, you receive a confirmation email. You can confirm the installation on the Installed Packages Setup page.

From Setup, enter “Installed Packages” in the quick find box, then select Installed Packages. You see an entry for Code Builder that looks something like this (below). If you get the message that the app is taking a long time to install, you will automatically get redirected to this page after you click Done.

Einstein for Developers

Released in beta for VS Code back in September during Dreamforce, Einstein for Developers is a generative AI coding tool built exclusively for Salesforce-specific coding languages. It has been built using CodeGen, Salesforce’s open-source Large Language Model (LLM), turning simple English prompts into executable code.

READ MORE: Einstein GPT for Developers Now Available

Now Code Builder users can join the party, as this has now been rolled out to Code Builder as well as VS Code! Simply install it via the extensions tab to take advantage of Einstein for Developers right in Code Builder.

Required Editions

Code Builder is accessible in various Salesforce editions, including Lightning Experience in Enterprise, Performance, Professional, and Unlimited Editions.

However, it’s not available in the EU Operating Zone, which is a specialized paid service offering data residency commitments. Code Builder is supported in European Union organizations that are not part of the EU Operating Zone, following standard product terms and conditions.

Beta vs. GA

The main difference between the beta version of Code Builder and the GA version is the Salesforce editions it could be installed in. The beta version could be found in the AppExchange and installed in any environment.

This is not the case with the GA version, and you can now only install it in certain editions of Salesforce. The biggest absence for me was the inability to install it in my developer org, which is where a lot of developers start building. Hopefully, this is something that comes back to being available for developer orgs in the not-too-distant future.

Summary

In essence, Code Builder simplifies the beginning of Salesforce development. It offers a pre-configured coding environment within your web browser, complete with Salesforce extensions, CLI, and workflows. This means you can start being productive right away without the need for intricate setup processes.

If you have one of the required Salesforce editions, I would definitely encourage you to try this exciting new tool out.

READ MORE: Get Started with Code Builder

The Author

Andrew Cook

Andrew is the Salesforce Technical Trainer at Salesforce Ben. He has over 12 years of experience working in the ecosystem, starting off as a retail end user. He is now 13 x certified and a Trailblazer mentor.

Comments:

    Justin
    July 29, 2015 2:55 pm
    Thanks for this, I had never heard of Historical Trending before, I will definitely be checking it out!
    Ben McCarthy
    July 29, 2015 3:06 pm
    Hi Justin, me too. It was something that came up in my Adv Adm exam. Pretty neat feature.
    Ryan Lorenzen
    August 02, 2015 12:06 am
    Ben, Same for me, become aware of many good features while studying, it's definitely indirect benefit of taking cert exams.
    Mark Tough
    August 02, 2016 3:53 am
    Thanks Ben and nicely put. I actually failed my Advanced Admin exam (thought I'd passed damn!) but this sort of overview is fantastic - it really helps with context and you are right all of this is relevant to Advanced Admin, you need to know when to use what. I will try again in a couple of weeks!
    Mark Tossell
    August 02, 2016 8:39 pm
    Excellent. Extremely helpful! Thanks.
    Sebastian
    November 18, 2016 10:14 pm
    Ben, I observed than when I create a Report Type, if I have A -> B -> C and I need to include in my report, another field than "Name" from object C (C.AnotherField), I can't. It doesn't exists in the report builder ... How can I do that ?
    Johann
    December 06, 2016 1:42 pm
    Thanks for the Report. Historical Trending was new to me.
    arnold
    February 09, 2017 7:04 am
    Hi -- For the Custom Summary Formulas, I am not able to find the field that I need (Quote Line Item Quantity).. How do I go about it?
    bhanu
    May 01, 2017 9:59 am
    great work Ben :) i need to pull only time in reports. Is it possible in salesforce ?
    Saskia
    February 27, 2018 6:20 am
    Hi Ben, this is an awesome overview - I was just a little confused about the exception Report example „From the above you can see we are looking at Accounts without opportunities that are closed equal false, showing us all accounts with open opportunities.“ Why should I Look for Accounts without Opps and then in a Second step Filter on it? Can you make an example why this makes Sense ( I am sure it does but I am just not getting it)? Many thanks, Saskia
    shyamala sudhir
    June 10, 2018 11:21 am
    Hello Ben, Your write-up is very helpful. it would be great if you could call out the difference between the Historical Trending and Reporting Snapshot features. Both seem to serve the same purpose. Thanks in advance! Shyamala
    Amy Frankel
    July 26, 2018 11:25 pm
    Thanks for always being such a helpful resource, Ben! One question - what if I don't want to have to pick certain dates, but just want it to show any time a field is changed and the what the new value was? For example, we're tracking events and want to know who was invited or not and who RSVP'd as attending/not or no-show, etc. When the status field flips from invited to attending/attended, we lose a way to report the previous statuses (i.e. after the event when we look at who attended, we can't determine which of those were invited vs which just came or were guests because we can't see the "invited" status anymore). I have history tracking turned on but can't figure out how to report on the history related list. Thanks again! Amy
    Razaele Garcia
    June 19, 2019 12:02 pm
    Thank you for this article, Ben! Just curious if Historical Trending for Accounts is not available? I tried enabling it but whenever I search Accounts, Salesforce prompts "No trendable entities". Is Account really not available for this feature or I just need to configure something else in Setup?
    Oleg Berezhnoy
    January 06, 2021 12:04 pm
    "From the above you can see we are looking at Accounts without opportunities that are closed equal false, showing us all accounts with open opportunities." This type of filter actually shows accounts WITHOUT open opportunities. Resulting report includes accounts that either: 1) do not have opportunities at all 2) do not have any open opportunities (or only have closed opportunities)

Leave a Reply

24th - 27th November

BLACK FRIDAY

50% off

all courses

Go to COURSES