> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Query Suggestions to Autocomplete

> Add Query Suggestions to the Autocomplete search in your Shopify app.

export const Application = () => <Tooltip tip="An Algolia application is a self-contained environment with its own indices, configuration, and API keys. Applications don't share data or settings with each other.">
    application
  </Tooltip>;

Algolia Query Suggestions generate suggested search terms [based on popular searches](/doc/guides/building-search-ui/ui-and-ux-patterns/query-suggestions/js#how-query-suggestions-work).

If you want to use Query Suggestions in the Algolia AI Search & Discovery app, you must:

* Use an Algolia <Application /> with active [Query Suggestions](/doc/guides/building-search-ui/ui-and-ux-patterns/query-suggestions/js#set-up-query-suggestions)
* Enable Query Suggestions for Autocomplete

## Enable Query Suggestions for Autocomplete

1. Open the **Search options** tab in the Algolia AI Search & Discovery app.

2. Go to the **Autocomplete configuration options** section.

3. Select the **Enable Query Suggestions** option.

   <img src="https://mintcdn.com/algolia/IBpvqiDfc9oOPDK9/doc/integration/shopify/advanced-customization/6-query-suggestions-settings.jpg?fit=max&auto=format&n=IBpvqiDfc9oOPDK9&q=85&s=0ae499cd3fe358de52b5dc2e12e70db5" alt="The Query Suggestions options in the Autocomplete configuration screen in the Shopify admin" width="929" height="174" data-path="doc/integration/shopify/advanced-customization/6-query-suggestions-settings.jpg" />

   By default, the engine uses an index name computed with your index prefix.
   If the index name doesn't correspond to your Query Suggestions index name, you can replace it.

4. Click **Save**. Your Autocomplete menu now shows suggested search terms.
