Enable API for salesforce instance
Go to the setup page of your instance.
On quick find: search for App Manager and click on it.
Click on New Connected app.
Fill the form. Put any name you’d like
Mark the “Enable Oauth settings” checkbox and on Selected Oauth Scopes add “Full access (full)”
Uncheck the “Require Secret for web server overflow” checkbox and click save
On quick find: search for “manage connected apps” in the and click on it
You will see a table with your connected apps. Press edit on the action column of your app
Change IP relaxation to Relax IP restrictions
Go to the app manager again (search in quick find) . Look for your app in the shown table and press the down arrow on the right of the table row. Press edit
You will find the consumer key and consumer secret there. These are the details secret required for Oauth authentication for token retrieval
To add a salesforce log
In the add data page, fill in the username and password which are used to enter your salesforce account
Enter the url for your instance under Instance Name (should be of the form ****.salesforce.com)
Define the Time To Retrieve, as usual.
In the oauth credentials section - Fill in the client ID and client secret required for oauth connection. There are exactly the consumer key and consumer secret (respectively) which appear in step 12 above.
Choose the desired logs form the Choose Logs.
- Save.