# Introduction

Let people prove they own a domain without leaving your product.

These docs cover `@prufy/connect`, Prufy's components for the web. To prove a domain from a terminal, see the [CLI](https://www.prufy.dev/docs/cli.md). To build your own interface, see [the API](https://www.prufy.dev/docs/api.md).

`@prufy/connect` gives you a connect modal, `prufy-connect`, as a custom element. It finds who manages a domain's DNS, shows the one record to add in that provider's own words, and checks DNS until the record is there. It handles focus, the keyboard and screen readers. You give it your app's name and a backend.

Import the package to register its elements, add the tag to your page, and point it at a handler on your server. The same tag works in plain HTML, React, Vue, Svelte and Next.js.

> **Version 0.1.0**
>
> Before 1.0, a minor version can change the API, so pin `~0.1`. Parts marked Experimental or Not available are less settled than the rest. Each component page says which.

## Quick start

Copy this prompt into your agent:

Prompt

```
Set up @prufy/connect in this project. It's a web component, <prufy-connect>, that walks someone through proving they own a domain. Importing @prufy/connect registers it, and @prufy/connect/react has React components.

1. Install @prufy/connect with the project's package manager. If a release-age policy blocks the install, stop and ask me instead of changing it.
2. Add a note to AGENTS.md, creating it if needed: before using @prufy/connect, read https://www.prufy.dev/docs/components.md and the pages it links to. Every page has a Markdown copy at its address plus .md, and https://www.prufy.dev/llms.txt lists them all.
3. Show the modal where people add a domain, on createFixtureClient from @prufy/connect/simulation until the backend exists. Don't ship the simulation.
```

It installs `@prufy/connect`, puts the modal on a page with made-up DNS answers, and points your `AGENTS.md` at these docs. Every page here has a Markdown copy at its address plus `.md`, and [llms.txt](https://www.prufy.dev/llms.txt) lists them all. For a prompt that fits your framework and project, use the [Quick start](https://www.prufy.dev/docs/components/quick-start.md).

## Set it up yourself

[Installation](https://www.prufy.dev/docs/components/installation.md)

Install @prufy/connect, register its elements, and give it a backend.

[Quick start](https://www.prufy.dev/docs/components/quick-start.md)

Pick your framework and project, then copy a prompt for your agent or the files.

## Explore the components

[Connect modal](https://www.prufy.dev/docs/components/connect-modal.md)

The button and modal that walk someone through adding one DNS record.

[Guided setup](https://www.prufy.dev/docs/components/guide.md)

A window that watches a shared tab and says where to click, one step at a time. Experimental: it can change in any release.

---

Every page of these docs, as a list: https://www.prufy.dev/llms.txt
