Communication
Make sure XPLG instance(s) can reach your Salesforce instance (usually port 443).
Pre-logging-setup - Salesforce
Go to the
...
Setup page of your instance as admin.
Navigate
...
to Setup → Apps → App Manager and click on the button New Connected App
...
.
Fill the Connected App Name
...
box as 'XPLG Integration'
...
and complete the form.
...
Mark the option Enable OAuth Settings and then check also the option Enable for Device Flow
...
Enable the OAuth Settings and grant full access. Uncheck the “Require Secret for web server overflow” checkbox and save.
...
Click Save. The Connected App will be created. Click Continue to view the Consumer Key and Consumer Secret.
...
Navigate to Setup → Administer → Manage Apps → Connected Apps, edit the App.
...
.
Fill the Callback URL box.
On Selected OAuth Scopes, add the permissions ‘Full access (full)'.
Uncheck both options “Require Secret for Web Server Flow” and “Require Secret for Refresh Token Flow“.
Click Save and the Connected App will be created.
Navigate to Setup → Apps → Connected Apps → Manage Connected Apps and edit the app.
Select Relax IP restrictions under OAuth Policies > IP Relaxation and click on 'Save'.
Navigate to Setup → Apps → Connected Apps → App Manager, search for the new connected app and click on ‘View’.
Click on the button Manage Consumer Details to view the Consumer Key and Consumer Secret. These are the details required for OAuth authentication for token retrieval.
Copy the Consumer Key and Consumer Secret to a safe location.
For XPLG integration you'll need - username, password, instance (https://****.salesforce.com), client ID (consumer ID=Consumer Key) and client secret (
...
Consumer Secret).
XPLG - To add a Salesforce a Salesforce log
...
Click on Add Data
...
→ Add Log.
Choose the Source Type Salesforce.
Choose an Existing Salesforce Account OR click on NEW for create a new one.
Create a new Salesforce
...
Account:
In the Username, enter your Salesforce account username.
In the Password, enter your Salesforce account password.
In the Instance name, enter your Salesforce URL (should be of the form ****.salesforce.com).
In the Client ID (consumer
...
key) and Client Secret (consumer secret), enter your OAuth credentials. There are exactly the consumer key and consumer secret (respectively) which appear above.
Click ‘Verify
...
’ and then on ‘Save’.
Click on Next.
In the Time To Retrieve, select the default past time to retrieve data.
Click
...
on Done – XpoLog applies an automated pattern on the incoming log. Verify that data is displayed and parsed properly.
Click
...
‘Save’ and
...
choose one of the following options:
Save & Close – XpoLog saves the new log and points to the logs tree. locate the log in the logs tree and enter the viewer in order to view the log.
Save & Add Another – XpoLog saves the new log and points to Add Log screen so that you may another log.
Optionally, defining the basic information of the new log (see Setting Log General Information).