This note explains how to configure the Collaboration Server to connect to Salesforce in a similar way to connecting to Salesforce through exploratory.io.
This configuration will allow you to do the following
The prerequisites to connect to Salesforce with your Collaboration Server are as follows.
There are 3 steps in this configuration.
The following sections explains each step.
Configure SSL (HTTPS) for the Collaboration Server following instructions in this note
Just as exploratory.io connects to Salesforce services as a Salesforce App, Collaboration Server connects to Salesforce as an independent Salesforce App. Just as exploratory.io connects to Salesforce services as a Salesforce App, Collaboration Server connects to Salesforce as an independent Salesforce App, so this registration and configuration is necessary.
From Quick Search, type in Application and select Application Manager.
In the Lightning Experience App Manager, click New Connection App.
Enter below items in Basic Information
Check the checkbox
https://<Collaboration Server Host>/oauthcallback
Change <Collaboration Server Host>
to your actual host name.
Select followings.
Check the checkbox.
Check the checkbox
After entering these information, click the Save button.
Click the Continue button.
Then you can confirm the information in the below page.
You will see the following two strings of information, which will be required for later configuration, so make a note of them.
If you want to relax the access restriction by IP address, click Edit Policy.
Select Relax IP restrictions
from IP Relaxation list.
Locate docker-compose.yml file under the "exploratory" directory created by uncompressing the distribution file of Exploratory Collaboration Server.
In the docker-compose.yml file, add the following 3 items under the "environment" item list under the "exploratory" container configuration, as in the example screen shot.
Example:
exploratory:
environment:
EXPL_ADMIN_EMAIL: sample@yourcompany.com
EXPL_ADMIN_FIRSTNAME: Admin
EXPL_ADMIN_LASTNAME: User
... Other Settings ...
EXPL_SALESFORCE_OAUTH_CLIENT_ID: 987654321
EXPL_SALESFORCE_OAUTH_SECRET: bbbbbbbbb
EXPL_OAUTH_CALLBACK_HOST: yourcompany.com
Now, restart Collaboration Server, and you can start accessing Salesforce from the Exploratory Desktop connected to your Collaboration Server.