# Algolia

### Overview

![](/files/aPOY13Q25esdaDF09TLs)

Shoppy utilizes [Algolia](https://www.algolia.com) to allow users to **filter** products on collection pages. Here's what you need to do to enable this feature on your shop.

### **Set up Algolia for your Shoppy app**

**Install the Agolia app in your Shoppy store**&#x20;

From the app section of your Shopify go to Shopify App Store and search for the app **Algolia Search and Discovery**, or click on [this link.](https://apps.shopify.com/algolia-search)&#x20;

Click on "**Add App**" to add the app to your store.&#x20;

![](/files/pyu2xEvvBEmPf0MULVk9)

**Create your Algolia account**&#x20;

Once you've added the application, you can log in or create an account if you don't have one yet.

![](/files/GXSxbFLaB1wGQRlEI19G)

{% hint style="info" %}
Shoppy uses Algolia's "Collection Page" feature available in the Standard Plan.
{% endhint %}

**Set up the Algolia app in your store.**&#x20;

Once you've created your account, go to the API Keys sevtion and copy teh Application ID, Search API Key, and Private Admin API Key into the **"Credentials"** block. Enter "shoppy\_" into the "**Indexes Prefix"** field.&#x20;

![](/files/QoklJfS0I3XKqIE7g2AE)

![Dashboard Algolia](/files/Dryic5L11iaOYTTxcG3V)

By clicking "**Save",** Algolia can index all of your products and collections.

**Enable Collection Pages**&#x20;

Enable collections pages with the switch In the Collections Pages of the Algolia app on Shopify.

![](/files/EWdCAxBirvSQsMD8x8UK)

{% hint style="info" %}
If you are unable to see the Algolia connection page on your store, change the CSS Selector field to a value **other than** *main.css.*
{% endhint %}

In the field "**Sort Orders**", add the following entries:

* Most popular
* Cheapest first
* Newest first
* Oldest first
* Name
* Most expensive first
* Name Z-A

After doing this, click "**Save".**&#x20;

**Index Named Tags (optional)**

Named tags are special tags that you can attach to products, which have a name in addition to a value. This way, you can group products by tag type. &#x20;

To add a named tag, add a tag in this format: NAME:VALUE. For example: the name could be "Item Type" and the values could be the various types/categories of items in your store.&#x20;

To activate named tags, go to the "Indexing" tab, select "Index Named Tags" and press "Save".&#x20;

![](/files/iNDhDct6aswqQEHjhEeH)

{% hint style="info" %}
To learn more about named tags visit the Algolia documentation page.
{% endhint %}

### Insert the keys for Algolia on Shoppy&#x20;

Now all you have to do is connect Algolia to Shoppy. To do this, open Shoppy's "**Integration**" tab and enable Algolia integration with the "**Enable**" button.

In the popup that appears, insert your **Application ID** (Algolia ID) and the **Search API Key** (Algolia Key) found on the Algolia dashboard in the API Keys section. <br>

![](/files/dKMvEdnkKEr5nJhWzwDx)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-en.shoppy.is/shoppy-dashboard/integrations/algolia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
