Loading...
New Winner – Cross-Border Excellence | Payoneer India 2026 Check out
Featured Recognized by Salesforce; Proven by impact! Check out

Salesforce Web Console (Beta) is a browser-based development environment that allows developers to write Apex code, run queries, debug applications, and manage metadata directly within their org. It is designed as a modern alternative to older tools such as Developer Console and Workbench.

The Salesforce Web Console is available directly inside Salesforce and does not require additional installations. Developers can execute Salesforce SOQL queries, edit Apex classes, retrieve metadata, and perform other development tasks from a single interface.

In this guide, we’ll go through the setup process and explore how to use the Salesforce Web Console for coding, debugging, query execution, and metadata management.

How to Set Up and Use Salesforce Web Console (Beta)

Getting started with the Web Console takes only a few minutes. Follow the steps below to enable the feature in your Salesforce org and begin using it for development tasks.

Step 1: Open your Salesforce org. From Setup, enter Development in the Quick Find box, and then select Web Console (Beta).

 

Step 1


Step 2:
Turn on the Enable Web Console (Beta) toggle by switching it to Active.

 

Step 2 2


Step 3:
Wait a few seconds for the changes to take effect. Once the gear menu is updated, you’ll see the Web Console (Beta) option available. Open it directly from the gear menu to start using the Web Console.

 

Step 3 2


Another way to access the Web Console (Beta) is directly from Apex-related pages:

  • From Setup, enter Apex Classes, Apex Triggers, or Apex Jobs in the Quick Find box.
  • Open the respective page, and you’ll see a list of records (for example, Apex classes).
  • Click the Edit link next to an object name, or select Web Console (Beta) to open and edit the object directly in the Web Console.

For instance, on the Apex Classes page, clicking the Edit link for a class will open it in the Web Console, allowing you to make changes instantly.

 

Step 3.1


Navigate the Web Console (Beta) User Interface

The Web Console (Beta) interface is designed to provide a clean and efficient development experience. It is divided into five key sections, each serving a specific purpose to help you work seamlessly within your Salesforce org.

 

Navigate the Web Console


Activity Bar:

This vertical bar contains icons that allow you to switch between different views. By default, the Explorer view is active. Other available views include:

  • Explorer – Displays your project files
  • Search – Helps you find and replace text across files
  • Source Control – Lets you manage Git repositories and track changes
  • Run and Debug – Enables execution and debugging of code
  • Extensions – Shows pre-installed extensions (custom installations from Marketplace aren’t supported)
  • Org Browser – Allows you to explore metadata directly from your Salesforce org 

Sidebar:

The sidebar changes based on the selected view in the Activity Bar. For example, in the Explorer view, it displays files organized in a DX project structure, making navigation simple and intuitive.

Editors:

This is the main workspace where you write and modify code. You can open multiple files at once and arrange them side by side, either vertically or horizontally, for better productivity.

Output Panel:

Located typically at the bottom, this panel displays logs, terminal output, and debug information in separate tabs. You can switch between tabs depending on what details you need to review.

Status Bar:

The status bar provides real-time information about your current project and the files you’re working on. It also indicates tracing details when debugging is enabled, helping you monitor activity efficiently.

Command Palette

The Command Palette is a powerful feature that gives you quick access to a wide range of Salesforce development commands directly within the Web Console (Beta).

To open the Command Palette:

  • Press Ctrl + Shift + P on Windows or Linux
  • Press ⇧⌘P on macOS 

Once opened, you can search for specific commands related to Salesforce development. For example, entering keywords like SFDX will display relevant commands that you can execute instantly.

Command Palette


After running a command-whether it completes successfully, fails, or is canceled-you’ll receive feedback in the
Output tab. This helps you track execution results and debug issues if needed.

For instance, when you run the SFDX: Create Apex Class command, the Output tab displays the execution details, confirming whether the class was created successfully or if any errors occurred.

Debug Your Code

The Web Console uses Salesforce debug logs to help developers monitor and troubleshoot code execution.

In the Web Console (Beta), debug logs are enabled by defining trace flags and log levels in the traceLogs.json file. This allows you to control what level of detail is captured during execution, making it easier to identify issues in your code.

Debug Your Code


To quickly set up tracing:

  • Hover over the No Tracing label in the status bar
  • Select Create trace flags for the current user
  • This action adds a trace flag for your user, enabling log generation 

Once enabled, you can execute your code and review detailed logs in the Output panel, helping you debug and troubleshoot more effectively.

Query Records

You can run SOQL queries directly in the Web Console (Beta) to fetch and analyze data from your org. This allows quick data checks and debugging without switching to other tools.

Build a Query Using SOQL Builder

The SOQL Builder in Web Console (Beta) provides a visual, form-based interface to create queries without writing SOQL manually. You can select objects, fields, and filters using UI elements, and the query is generated automatically.

Steps to use SOQL Builder:

  • Open the Command Palette and run SFDX: Create Query in SOQL Builder.
  • Enter a name for your query and press Enter.
  • Use the interface to choose the object, fields, and conditions.
    Steps to use SOQL Builder


As you configure the query, the corresponding SOQL statement is generated in the query box, making it easy to understand and execute.

To execute your query in the SOQL Builder, click Run Query. The results are displayed in a grid format for easy viewing. You can also export the results as CSV or JSON by selecting the respective option in the results tab.

 

Steps to use SOQL Builder.1


Retrieve Query Plans

The Query Plan tool helps developers understand how Salesforce processes a query.

To retrieve a query plan:

  • Open your query in the SOQL Builder
  • Click Get Query Plan 

This helps you identify performance improvements and ensure your queries run efficiently.

 

Retrieve Query Plans


Run Query from Text Editor

You can also execute SOQL queries directly from the text editor in the Web Console (Beta).

Steps:

  • Select the query in the editor
  • Open the Command Palette and run SFDX: Execute SOQL Query with Currently Selected Text
  • Choose the appropriate option based on your use case:
    • REST API – For data operations like querying or modifying records
    • Tooling API – For metadata and development-related tasks 

The results are displayed in the Output panel, and a CSV file is generated for download.

 

Run Query from Text Editor

Run Query from Text Editor.1


Work with Apex Code (Beta)

In Salesforce, Apex is primarily written and stored in two forms:

  • Classes:

    These act as blueprints for creating objects and contain methods, variables, and logic. You can manage them from Setup → Apex Classes.
  • Triggers:

    These are pieces of code that run automatically before or after specific data operations (like insert, update, or delete). Triggers are stored as metadata and can be accessed from Setup → Apex Triggers. 

Using the Web Console, you can easily create, edit, and manage both Apex classes and triggers directly within your org.

Follow these steps to create an Apex class in Web Console (Beta):

  • Open the Command Palette.
  • Search for and select SFDX: Create Apex Class.
  • Select the template type.
  • Enter a name for your class and press Enter.
  • The class opens in the editor, where you can add your logic and save it directly in your org.
    Work with Apex Code


Create an Anonymous Apex Script

You can quickly execute Apex code without creating a class by using an anonymous script.

Steps:

  • Open the Command Palette.
  • Run SFDX: Create Anonymous Apex Script.
  • Update the sample script in the editor with your code.
  • Save the file (it is stored in the scripts folder). 

This is useful for testing logic or running one-time operations directly in your org.

Execute an Anonymous Script

You can run your anonymous Apex script directly from the editor in the Web Console (Beta).

Steps:

  • Ensure your script is open in the text editor
  • To execute the entire script:
    • Right-click in the editor and select SFDX: Execute Anonymous Apex with Currently Open Editor
  • To execute specific code:

    • Highlight the desired portion, right-click, and select SFDX: Execute Anonymous Apex with Editor’s Selected Text 

This allows you to quickly test full scripts or specific logic as needed.

 

Execute an Anonymous Script


You can also execute these actions from the
Command Palette while the script is open in the editor.

After execution, the results and debug logs are displayed in the Output panel, allowing you to review the outcome and troubleshoot if needed.

 

Execute an Anonymous Script.1


Retrieve and Manage Salesforce Metadata in Web Console (Beta)

Step 1: Click on the Salesforce Org Browser icon from the Activity Bar.

 

Retrieve and Manage Step 1


Step 2:
Browse or search for the component you want to retrieve.

Retrieve and Manage Step 2


Step 3:
You can retrieve metadata either in bulk or individually:

  1. To retrieve all Apex classes at once, click the Retrieve Metadata icon located in the top-right corner of the ApexClass section. 
  2. To retrieve a specific class, click the Retrieve Metadata icon next to that particular class.
    Retrieve and Manage Step 3

Retrieve and Manage Step 3.1 1


Conclusion

The Web Console (Beta) is a step forward in simplifying development inside Salesforce. By bringing development tools directly into the platform, it reduces the need for multiple applications and helps developers complete tasks more efficiently from a single workspace.

Whether you’re making quick code changes, testing business logic, analyzing data, or managing metadata, the Web Console provides a more streamlined way to work within your org. As Salesforce continues adding new capabilities, this browser-based tool can help teams save time, improve productivity, and make day-to-day development easier to manage.

Watch Live Demo

No Data Found.

Related Articles
How to Connect Salesforce with Claude AI Using an MCP Server

Claude AI can make working with Salesforce CRM data much easier. Instead of manually opening records, building reports, or writing SOQL queries, teams can ask Claude questions in plain English and get answers from their Salesforce org. With Salesforce MCP, users can explore CRM information through a conversational interface, helping them find relevant details with […]

Read More
How to Set Up Salesforce Claudeforce Using the Headless 360 MCP Server

Setting up Salesforce Claudeforce requires more than simply connecting Salesforce with Claude. The process involves beta access, the Salesforce Headless 360 MCP Server, an External Client App, plugin configuration, and user-level permissions. Each part of the setup is important because Claude needs controlled access to Salesforce data and actions while still following the user’s existing […]

Read More
How to Extract Data from PDFs Using OCR.space API in Salesforce

Many times it’s crucial to extract information from documents such as loan statements, invoices, applications, identity documents, and scanned forms. When the information is stored as an image or scanned PDF, it cannot be directly read and used as regular text. This is where Salesforce OCR becomes useful. Optical Character Recognition can convert text from […]

Read More
Passwordless Login with Passkeys in Salesforce: A Practical Setup Guide

Passwordless login with passkeys gives Salesforce users another way to authenticate without entering a traditional password every time. Instead, users can verify their identity through a device, browser, or supported passkey manager. For Salesforce admins and consultants, setting up passkeys requires a little planning. Each user needs access to their own registered passkey, and backup […]

Read More
How to Configure Salesforce for Google Chat Integration

Google Chat integration with Salesforce connects team communication with Salesforce data, helping teams receive important updates without constantly switching between platforms. It makes collaboration simpler and keeps sales teams informed. The integration works across three key components: Salesforce: Acts as the source system for business information, record updates, and automation. Google Cloud Console: Provides the […]

Read More
How to Integrate Tasks Between NikoHealth and Salesforce

How to Integrate Tasks Between NikoHealth and Salesforce Tasks play an important role in healthcare workflows and can be associated with Patients, Orders, Invoices, Documents, and Assigned Staff Members. With MultiSync Made Easy, organizations can synchronize Task records while maintaining these important relationships. This Niko Health image-based workflow also makes it easier to understand how […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203669505
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
CA Flag Canada
HIC Global Solutions INC
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818