all docs

Install on your site

Shopify

Paste the snippet into your theme layout.

In your SearchBox dashboard, open Spotlights, pick your spotlight, then Widget → Embed Code, and copy the snippet.

  1. 1Add your website under Widget → Domain Access before you paste the code. The widget won't load on a domain that isn't listed. Add both your own domain and yourstore.myshopify.com.
  2. 2In Shopify admin, go to Online Store → Themes.
  3. 3Next to your live theme, click … → Edit code.
  4. 4Open layout/theme.liquid.
  5. 5Paste the snippet just before </body> and click Save.

If you switch themes later, paste the snippet into the new theme's theme.liquid as well.

Something unclear? Tell us and we’ll fix this page.