---
updatedAt: 2026-09-28T14:46:08.000Z
agentTools:
  projectIndex: https://developer.searchblox.com/llms.txt
---

# OneDrive Data Source

# **Configuring SearchBlox**

Before using the OneDrive Data Source, first install SearchBlox properly and then create a **Custom Collection**.

![](https://files.readme.io/196e73e4267db9c6bd05b394e7fe8d853c8e8b68e6a4a507bca3fd99a5c401ff-image.png)

## \*\*Configure Onedrive Application

* open following url in browser\
  <https://apps.dev.microsoft.com/?referrer=https%3A%2F%2Fdev.onedrive.com>\
  Login using user credentials

![](https://files.readme.io/ea5b707-onedrive1.png "onedrive1.png")

* Click on Add an app after successful login

![](https://files.readme.io/da4c079-onedrive2.png "onedrive2.png")

* Specify application name and click on create

![](https://files.readme.io/f4ed493-onedrive3.png "onedrive3.png")

* Note down application ID

![](https://files.readme.io/398c5b5-onedrive4.png "onedrive4.png")

* click on add platform

![](https://files.readme.io/dcdfed5-onedrive5.png "onedrive5.png")

* Click on WEB

![](https://files.readme.io/33f8236-onedrive6.png "onedrive6.png")

* Specify redirect URL and click on save

![](https://files.readme.io/49d73aa-onedrive7.png "onedrive7.png")

# **Configuration details of OneDrive Data Source**

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

[block:parameters]
{
  "data": {
    "h-0": "",
    "h-1": "",
    "0-0": "data-directory",
    "0-1": "Data folder where information is stored. Ensure it has write permission.",
    "1-0": "api-key",
    "1-1": "SearchBlox API Key.",
    "2-0": "colname",
    "2-1": "Name of the custom collection in SearchBlox.",
    "3-0": "url",
    "3-1": "SearchBlox URL",
    "4-0": "exclude-folders",
    "4-1": "Folders to exclude in OneDrive.",
    "5-0": "log-file-maxSize,log-file-maxBackups,log-file-maxAge",
    "5-1": "• Size (MB) after which a new log file is created  \n• Number of backup log files to keep  \n• Days after which logs are deleted",
    "6-0": "servlet url & delete-api-url:",
    "6-1": "Ensure the port number is correct (e.g., if SearchBlox uses port 8080).",
    "7-0": "authURL",
    "7-1": "OneDrive authorization url  \ndefault: <https://login.live.com/oauth20_authorize.srf>",
    "8-0": "tokenURL",
    "8-1": "OneDrive api token url  \ndefault: <https://login.live.com/oauth20_token.srf>",
    "9-0": "redirectUrl",
    "9-1": "OneDrive redirect URL for returning back to GOconnector. Ensure the port is different from SearchBlox.",
    "10-0": "clientId",
    "10-1": "OneDrive app client ID.",
    "11-0": "clientSecret",
    "11-1": "OneDrive app client secret.",
    "12-0": "port",
    "12-1": "GOconnector port for OneDrive; must match the port used in the redirect URL.",
    "13-0": "api_url",
    "13-1": "OneDrive API url  \ndefault: <https://api.onedrive.com/v1.0/>"
  },
  "cols": 2,
  "rows": 14,
  "align": [
    "left",
    "left"
  ]
}
[/block]