# **Configuring SearchBlox**

Before using Drupal Connector, install SearchBlox successfully and create a **Custom Collection**.


# **Configuring Drupal for Connector**

you need to enable JSON API extension by adding it to Drupal from local import Download Link: [https://www.drupal.org/project/jsonapi](🔗)



# **Configuring Drupal Connector**

  • All the files related to the connector should be available in the same folder that is, all files should be extracted into the same folder.

  • Create a data folder on your drive where the files would be temporarily stored and mention in yml files. Contact [[email protected]](🔗) to request the download link for SearchBlox Drupal connector. In Windows, the connector would be installed in the _C drive_.

## **Steps to Configure and Run the Drupal Connector**

  • Download the SearchBlox Drupal connector. Extract the downloaded zip to a folder.

  • Unzip the archive under *C:\*

  • Configure the drupal.yml file which includes Drupal properties and SearchBlox properties as listed in the following:

Column Title
Column Title
usernameUser Name
data-directoryData Folder where the data needs to be stored. Make sure it has write permission.
api-keySearchBlox API Key. API key would be available in Admin Dashboard Menu -> Admin ->Licence page
colnameThe name of the custom collection in SearchBlox.
urlSearchBlox URL
drupalurlDrupal url http://<address>/drupal/jsonapi/node/
drupalloginurlDrupal login url http://<address>/drupal/user/login?_format=json
drupalcontenturlDrupal content url http://<address>/drupal/node/
max-folder-sizeMaximum size of static folder after which it should be sweeped in MB.
servlet url & delete-api-url:Make sure that the port number is right. If your SearchBlox runs in 8080 port the URLs should be right by default.
  • The content details of drupal.yml are provided here:

  • Start running the drupal_connector.exe file for Windows