---
updatedAt: 2026-09-28T14:13:44.000Z
agentTools:
  projectIndex: https://developer.searchblox.com/v10.2/llms.txt
---

# Salesforce Data Source

\#**Configuring SearchBlox**
Before using Salesforce Data Source, install SearchBlox successfully and create a **Custom Collection**.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/6f6d4af-ALL.png",
        "ALL.png",
        512,
        184,
        "#d6d7db"
      ]
    }
  ]
}
[/block]

\#**Configuring Salesforce Application**

* To authenticate using OAuth, you must create a connected app that defines your application’s OAuth settings for the Salesforce organization.
  Please refer the link [Defining Connected App](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_defining_remote_access_applications.htm)
* Make sure you set IP Relaxation setting to “ Relax IP Restrictions“ - as shown in screenshot

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/554b809-salesconn1.png",
        "salesconn1.png",
        1300,
        311,
        "#f3f0f4"
      ]
    }
  ]
}
[/block]

* Please Enable OAuth Settings and under Enable OAuth settings, make sure you select "Full Access" for selected OAuth scopes as shown in the following:

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/ff63a46-salesconn2.png",
        "salesconn2.png",
        1131,
        498,
        "#f3f2f3"
      ]
    }
  ]
}
[/block]

* Please make sure that you can view /change salesforce version under setup>Build>Develop>Apex classes>New>Version Settings.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/43b3592-apexclass.png",
        "apexclass.png",
        1345,
        367,
        "#edf2f5"
      ]
    }
  ]
}
[/block]

\#**Configuration details of Salesforce Data Source**

[Accessing Connector UI](https://developer.searchblox.com/docs/connectors-ui)

[block:callout]
{
  "type": "warning",
  "body": "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.",
  "title": "Note:"
}
[/block]

[block:parameters]
{
  "data": {
    "0-0": "username",
    "0-1": "User Name in Salesforce",
    "1-0": "password",
    "1-1": "Password in Salesforce",
    "3-0": "api-key",
    "3-1": "SearchBlox API Key",
    "5-0": "url",
    "5-1": "SearchBlox URL",
    "6-0": "version",
    "6-1": "Salesforce API version to be used",
    "4-0": "colname",
    "4-1": "The name of the custom collection in SearchBlox.",
    "2-0": "data-directory",
    "2-1": "Data Folder where the data needs to be stored. Make sure it has write permission.",
    "7-0": "clientId",
    "8-0": "clientSecret",
    "7-1": "Salesforce Client ID",
    "8-1": "Salesforce Client Secret"
  },
  "cols": 2,
  "rows": 9
}
[/block]