Help Center / Setup with Claude Code
02 · Guided setup
The Measr repo ships its own setup skill for Claude Code, plus a ready-made prompt for Cursor, Windsurf, and other assistants. You answer questions and approve; the assistant does the rest.
The repo bundles a setup skill that Claude Code picks up automatically. Three steps to start it:
Open a terminal and clone Measr to your machine:
git clone https://github.com/Batu75/measr.git ~/dev/measr
Any location works; ~/dev/measr is just a convention.
cd ~/dev/measr
claude
The session must start here because Claude Code loads skills from the current project folder. Your website can live anywhere else on disk.
set up Measr on /absolute/path/to/my/website
Replace the path with your site's folder, the one containing your HTML files. For example: set up Measr on ~/dev/my-portfolio.
The skill runs a staged flow and stops for your input at every decision point:
Nothing is guessed. The skill never invents credentials, URLs, or site IDs. It asks, waits, and confirms each phase worked before starting the next one.
Use the ready-made prompt instead of the skill. It lives in the repo at docs/QUICKSTART.md.
docs/QUICKSTART.md and paste it as your first message.The assistant then works through eight phases:
| Phase | What happens | Your part |
|---|---|---|
| 1. Prerequisites | Checks Node.js 22+, npm, git | Install anything missing |
| 2. Supabase project | Guides you through creating a free project | Paste the project URL and anon key |
| 3. Migrations | Walks you through every SQL file in order | Paste SQL into the Supabase editor, or run the CLI |
| 4. Tracking SDK | Copies the SDK into your site and writes the init snippet | Pick a siteId, confirm events arrive |
| 5. Dashboard user | Guides you through creating the login | Create the user, set the data-access claim |
| 6. Dashboard build | Configures env files, runs npm ci and the build | Confirm the values it wrote |
| 7. Verification | Checks data flows from your site to the dashboard | Click around your site, watch the KPIs move |
| 8. Deploy (optional) | Deploys the dashboard to the host you pick | Choose a host, optionally a custom domain |