Set up Algolia

Go to Simply Static -> Settings -> Search, activate the "Use Search?" option, and choose Algolia API as the search type.

Indexing

You can configure what Simply Static should index and display in search results. It provides some defaults, but you can use any HTML tag you like.

You can also exclude specific URLs or just patterns from indexing to optimize the search experience for your visitors.

Set up your Algolia account

To use Algolia for the search integration, you need an account.

The service is free as long as you don’t have more than 10,000 searches per month.

Create Index

Once you have created an account at Algolia, go to search and click on “Create Index”. A little box will appear that you can fill out with the necessary information:

Search 6

API Keys

Next, we have to get the API keys. Click on your profile picture in the top-right -> Settings and then click on “Manage Applications”:

Search 7

Click on “New Application” and follow the dialog to set up your project:

Search 8

Once you have finished the setup, go into your project and click on “API Keys”:

Search 9

Add API Keys to Simply Static

Here, you can copy the necessary information to fill out the fields in Simply Static -> Settings -> Search -> Algolia:

Search 10

Add the Application ID, Admin API Key, and Search-Only API Key from your project.

Add the name of the index you have used while setting up the index in your Algolia account.

Video Tutorial (Algolia)