# Plain HTML install

> Script-tag install for static or server-rendered products.

## Agent-ready snippet

```
<script
  src="https://answerlattice.com/widget/v1/answerlattice-widget.js"
  data-answerlattice-key="{{ANSWERLATTICE_WIDGET_KEY}}"
  async
></script>
<script>
  window.addEventListener('load', function () {
    window.AnswerlatticeWidget?.page({
      path: window.location.pathname,
      title: document.title,
      feature: window.location.pathname.split('/').filter(Boolean)[0] || 'app',
      role: 'member',
      locale: navigator.language || 'en'
    });
  });
</script>
```

## Public API note

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