# Quickstart

> Add Clearlook to a site in a few minutes, with your AI coding tool or by hand.

## With your AI coding tool (recommended)

Paste this into Claude Code, Cursor, VS Code, Windsurf or any coding agent:

```text
Set up Clearlook in this app by following https://app.clearlook.dev/setup.md
```

The agent connects Clearlook to your AI tool (you sign in in your browser; no keys go into the chat), picks or creates the project, finds your framework, adds the script and error tracking, sends a test event and waits for it, then finishes with three questions to try.

Want it tied to one project from the start? In the app, open **Connect your site** and press **Set up with AI**. Its prompt carries a code for that project, valid for 30 minutes.

## By hand

1. Sign up at [app.clearlook.dev](https://app.clearlook.dev) and add your site. You get a write key starting `pk_`. It is public: it can only send data in.
2. Put one tag in the `<head>` of every page, once (in a framework, the root layout or `index.html`):

```html
<script defer src="https://app.clearlook.dev/s/latest/w.js" data-key="pk_live_…" data-release="COMMIT_SHA"></script>
```

`data-release` is optional: give it your deploy's commit SHA and Clearlook can tell which deploy changed something (see [Releases](/releases)).

3. Open your site once. The dashboard shows the visit within seconds.

## Next

- Send the events that matter: `platform.capture('Signed up', { plan: 'pro' })`.
- When people sign in: `platform.setConsent('granted')` from your consent banner, then `platform.identify(user.id)`.
- [Connect your AI app](/ai/connect) and ask: "How many people visited today? Did anything break this week?"
