> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.kelp.click/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Adding Kelp search to a Shopify Liquid theme

Add Kelp search to any Online Store (Liquid) theme with one theme section and one JavaScript file. No npm or build step is needed.
## Before you start
* Catalogue sync is complete and your collection has products in it.
* You have your Kelp search host, your collection name (usually `products`) and a **search-scoped** API key.
## Steps
1. Add the `sections/kelp-search.liquid` section and the `assets/kelp-search.js` file from the guide.
2. In the theme editor, add the section to your search template or a custom page.
3. Fill in the section settings: search URL, API key, collection and placeholder text.
4. Check that product links match your product URL format. The default is `/products/{handle}`.
5. Test a search, a facet click and a product click.
## Good to know
* Theme settings are visible in your page HTML, so only use a key scoped to search and events. To keep the key off your storefront, route requests through an app proxy you host.
* Product clicks are tracked with the search's `queryId` so Kelp can attribute them. Purchase events need a customer event or pixel.
* For meaning-based results, enable semantic search on the collection and send a `semanticWeight` with each search.
Full guide: [Shopify Liquid](https://docs.kelp.click/platforms/shopify-liquid)