Skip to main content

Quick Start

Get recapt running and healing your site in under 10 minutes.

Part 1: Start Recording (2 minutes)

Get Your API Key

  1. Sign up at recapt.app
  2. Go to Installation in the sidebar
  3. Click Generate to create your API key

Add the Script

Add this to your website's <head>:

<script
src="https://cdn.recapt.app/browser/recapt.js?key=YOUR_API_KEY"
async
data-public-key="YOUR_API_KEY"
data-persist
></script>

Verify It Works

  1. Visit your site and interact with it
  2. Check Sessions in your recapt dashboard
  3. You should see your session within a few minutes

Part 2: Connect Your AI Assistant (5 minutes)

This is where the magic happens. Connect recapt to your AI coding assistant so it can automatically find and fix UX issues.

Install the MCP Server

npx @recapt/cli init

This will:

  1. Generate an MCP API key
  2. Configure your IDE (Cursor, VS Code, etc.)
  3. Install the self-improvement skill

Start Healing

Open your AI assistant and say:

Heal my site

The AI will:

  • Find all UX issues across your site
  • Investigate root causes
  • Write fixes directly to your codebase
  • Track whether the fixes worked

That's it. Your site is now self-healing.

To associate sessions with your users, add this after login:

window.recapt("identify", {
uid: "USER_ID",
email: "user@email.com",
nickname: "Username",
});

This helps the AI understand which users are affected by issues.

What's Next?

Essential

Optional