> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedynamite.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read /start/capabilities before choosing an integration. Use the deployed server’s tools/list for current tool inputs.

# Install the script

> Add Dynamite to your website.

Copy the installation snippet from your workspace and add it once to your shared HTML layout.

```html theme={null}
<script defer
  src="https://dynamite-cdn.vercel.app/dynamite.js"
  data-site="YOUR_WORKSPACE_UUID">
</script>
```

Install it on pages that provide visitor context as well as pages you want to personalize.

| Attribute | Purpose |
| - | - |
| `src` | Script URL from your workspace |
| `data-site` | Your workspace UUID |
| `data-consent="required"` | Wait for consent before starting personalization |

## Check the installation

Reload your website. Dynamite should report an installation check-in. In the browser’s Network panel, look for requests to `/personalization/runtime/…/site` and `/installed`.

A check-in confirms the script ran. Variants begin serving after you publish.

## Frameworks and consent

Use a stable region that exists when the script binds. See [Frameworks](https://docs.usedynamite.com/integrate/frameworks.md) for React and site builders, or [Consent](https://docs.usedynamite.com/integrate/consent.md) to connect a consent manager.

For request timing, caching, and teardown, see [Script lifecycle](https://docs.usedynamite.com/internals/script-lifecycle.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.