# Manual widget install

> Human-readable install steps for teams that do not use an AI coding agent.

## Install once

Paste the v1 script in the app shell or shared document. Do not paste it into individual pages.

```
<script
  src="https://answerlattice.com/widget/v1/answerlattice-widget.js"
  data-answerlattice-key="al_your_widget_key"
  async
></script>
```

## Send safe page context

Call page() after load and after client-side route changes. Keep context high-level and safe.

```
window.AnswerlatticeWidget?.page({
  path: window.location.pathname,
  title: document.title,
  feature: 'billing',
  workflow: 'manage_subscription',
  role: 'owner',
  locale: 'en',
});
```

## Verify

- Open the product on an allowed origin.
- Confirm one AnswerLattice script tag exists.
- Navigate between routes and confirm context changes.
- Visit blocked routes and confirm the widget is absent.
- Return to the AnswerLattice dashboard and check runtime status.

## Public API note

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