Salesforce Data Source
The Salesforce Data Source indexes data from Salesforce into a SearchBlox collection, allowing you to easily search and access information stored in Salesforce.
Configuring SearchBlox
Before using the Salesforce Data Source, make sure SearchBlox is installed properly and create a Custom Collection.

Configuring Salesforce Application
- To authenticate using OAuth, create a connected app that defines your application’s OAuth settings for the Salesforce organization. Refer: Defining Connected App
- Set the IP Relaxation setting to “Relax IP Restrictions”.

- Enable OAuth Settings and select “Full Access” for the OAuth scopes as shown in the following:

- Make sure you can view or change the Salesforce version under Setup → Build → Develop → Apex Classes → New → Version Settings.

Configuration details of Salesforce Data Source
Note:
In Linux, make sure that necessary permissions have been provided to the folder /opt by using the CHMOD command for writing log files and executing jar files.
| username | Your Salesforce username. |
| password | Your Salesforce password. |
| data-directory | Folder where data will be stored (must have write permission). |
| api-key | SearchBlox API Key. |
| colname | Name of the custom collection in SearchBlox. |
| url | SearchBlox URL |
| version | Salesforce API version to use. |
| clientId | Salesforce Client ID |
| clientSecret | Salesforce Client Secret |
Updated 14 days ago
