function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How, Workbench applications connect to Salesforce

Below is the URL the Web Application use to authenticate with Salesforce and get the Auth Code for further API calls.

To get the client Id we need to create a Connected App in Salesforce and use the details to connect to Salesforce. This is clear.

But, how does the applications like, Workbench etc., connect to any salesforce Org? What client Id these applications pass to different salesforce orgs for authentication? Can anyone explain it?

Diksha Goel 6Diksha Goel 6

Workbench is a powerful, web-based suite of tools designed for administrators and developers to interact with organizations via the APIs. Workbench includes robust support for the Partner, Bulk, Rest, Streaming, Metadata, and Apex APIs that allows users to describe, query, manipulate, and migrate both data and metadata in organizations directly in their web browser with a simple and intuitive user interface. Workbench also provides many advanced features for testing and troubleshooting the APIs, such as customizable SOAP headers, debug logs for API traffic, backward compatibility testing with previous API versions, and single sign-on integration within the Salesforce application.

Please check below post for more detail

The first thing is you can actually package the connected apps so that you don't need to create them every time on every org. You just need to install them there.

In case of workbench actually Salesforce installs a package through automated process. For more information about this ,refer below link :

Hope this helps you.

Diksha Goel
Zen4orce Developer