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 도움말 사이트에서 언제든지 새로운 피드백 양식을 작성할 수 있습니다.

자세히 알아보기 의견 공유하기