# **Configuring SearchBlox**
Before using Alfresco Connector, install SearchBlox successfully and create a **Custom Collection**.
# **Configure Alfresco 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.
In the connector settings that is, yml file you need to provide the correct Alfresco url with correct IP and port number. Please check your Alfresco application for the correct details.
Contact [[email protected]](🔗) to request the download link for SearchBlox Alfresco connector. The following steps include the example paths for both Windows as well as Linux. In Windows, the connector would be installed in the _C drive_. In Linux, the connector has to be installed in _/opt_.
## **Steps to Configure and Run the Alfresco Connector**
Download the SearchBlox Alfresco connector. Extract the downloaded zip to a folder.
Unzip the archive under _C:\* or _/opt*.
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.
Configure the alfresco.yml file which includes Alfresco properties and SearchBlox properties as listed in the following:
|Data Folder where the data needs to be stored. Make sure it has write permission.
|SearchBlox API Key
|The name of the custom collection in SearchBlox.
|Alfresco URL from which the content is extracted for indexing http://localhost:8081/alfresco/api/-default-/public/alfresco/versions/1/nodes Replace the host and portname as applicable
|Alfresco URL to view Alfresco in a new window http://localhost:8081/alfresco/service/api/node/content/workspace/SpacesStore Replace the host and portname as applicable
|File formats to exclude.
|Folders to exclude in Alfresco.
|Maximum 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.
The content details of alfresco.yml are provided here:
Start running the alfrescoConnector.exe file for Windows and ./alfrescoConnector or ./alfrescoConnector_linux32 in Linux