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

# Use Widgets

> Embed the Replied widget on a website.

Use the widget when you want a fast website contact form without building custom UI.

## Install

Add the script before the closing `body` tag.

```html theme={null}
<script src="https://replied.dk/widget.js" data-key="YOUR_API_KEY"></script>
```

## Configure

Use the dashboard API key settings to control allowed domains and default category.

## Test

1. Load the website in a private browser window.
2. Submit a test message.
3. Confirm it appears in Replied.
4. Check category, sender, source, and payload.

## Developer touchpoints

* Widget script.
* Submit endpoint.
* Origin validation.
* Widget events.
