In the Master Org, you must create a Connected App for each Spoke Org. Salesforce Connected Apps use a protocol
OAuth2
to authenticate with Salesforce. When Connected App users request access to a Salesforce Org, Salesforce passes a token to the Connected App if the authentication is successful.
Based on the Salesforce environment that you use, perform one of the following tasks:
In Salesforce Classic, perform the following tasks:
In the upper-right corner of the page, select your name, and click
Setup
.
Under
App Setup
, click
Create
Apps
The
Apps
page appears.
In Lightning Experience, perform the following tasks:
Click the quick access menu (
), and then
Setup Home
.
The
Setup Home
page appears.
Under
PLATFORM TOOLS
, select
Apps
Connected Apps
.
Under
Connected Apps
, click
New
.
Under
Basic Information
, enter a name for the application and an email ID.
The consumer secret and the consumer key appear under the
API (Enable OAuth Settings)
section. When you configure the custom setting on the Spoke Org, specify the consumer key and the consumer secret. A Spoke Org uses the consumer key value to identify with Salesforce and uses the consumer secret to establish ownership of the consumer key.