Skip to main content
Free Agentforce workshops and AI Certifications: Learn more. Terms and conditions apply.

Enable Code Builder

Learning Objectives

After completing this unit, you’ll be able to:

  • Enable Code Builder in your org.
  • Assign the proper permission for users to access Code Builder.

Before You Begin

In this badge we show you how to enable Code Builder in your org and prepare users to access it. Before you start, complete the Code Builder: Quick Look badge for an introduction to Code Builder.

Why Code Builder?

Are you looking for a coding tool for Salesforce? One that you don’t have to get IT approval for? One you don't have to download and configure all the required add-ons for? How about a browser based integrated development environment (IDE)?

Browser Based

Built on the Visual Studio Code platform, Code Builder is set to run in a browser. Code Builder comes preconfigured with all the required add-ons you need to work on the Salesforce platform: Apex, SOQL, Lightning Web Components, and Salesforce CLI. Code Builder is ready to go.

No Need to Download

Created by Salesforce, Code Builder is a managed package that you install in your Salesforce org. All anyone needs to use the Code Builder App is permission to access it in Salesforce. Let’s jump into how it all works.

Install the Package

Code Builder is installed in your production environment with a managed package. Code Builder can be enabled only in the Production org.

Note

Code Builder cannot be enabled in Developer orgs, Trailhead Playgrounds, or Sandbox orgs. However, after you create a Code Builder environment in Production, it can connect to a sandbox, scratch org, or developer org.

Salesforce makes it easy to manage the Code Builder Setup.

  1. From Setup, enter Code Builder in Quick Find and select Code Builder.
  2. Select Enable Code Builder.
    Setup page for Code Builder with Enable Code Builder set to Enabled.
  3. Click Accept to accept the Product Terms.
    Product Terms window with a Cancel button and an Accept button.
  4. Click Install Package.
    Setup page for Code Builder withCode Builder Enabled and an Install Package button.
  5. For Install Code Builder, select Install for All Users.
    Install Code Builder window with options to Install for Admins only, for All Users, or for Specific Profiles, and an Install button.
  6. Select Install.
  7. For Approve Third-Party Access, select Yes, grant access to these third-party web sites.
    The Approve Third-Party Access window listing visualstudio.com and salesforce.com for third-party access.
  8. Click Continue.
    The app may take a few minutes to install. You’ll get an email when it’s complete.

Set Permissions

When the Code Builder package is installed and ready for use, assign the right permissions so your coders can use it.

  1. From Setup, enter Permission Set Groups in Quick Finder and select Permission Set Groups.
  2. Select CodeBuilderGroup.
  3. Click Manage Assignments.
  4. Click Add Assignments.
  5. Select the users you want to give permission to.
  6. Click Next.
  7. Click Assign.

Now your coders are all set to start coding with Code Builder. In the next unit we start Code Builder and take a look at using the new tool.

Note

Developers who aren’t users in Production can use a DX Limited license or Identity license.

Resources

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈