# Shopify-style install

> Theme-level script injection guidance for Shopify-style storefronts.

## Agent-ready snippet

```
<!-- Add once in the theme layout, before </body>. Replace the key with a theme setting or environment-backed value. -->
<script
  src="https://answerlattice.com/widget/v1/answerlattice-widget.js"
  data-answerlattice-key="{{ANSWERLATTICE_WIDGET_KEY}}"
  async
></script>
<script>
  window.AnswerlatticeWidget?.page({
    path: window.location.pathname,
    title: document.title,
    feature: 'storefront',
    workflow: 'customer_support',
    role: 'customer',
    locale: Shopify?.locale || navigator.language || 'en'
  });
</script>
```

## Public API note

The public API may be account-gated. For most clients, install the AnswerLattice widget first.