Quick Start
Get recapt running and healing your site in under 10 minutes.
Part 1: Start Recording (2 minutes)
Get Your API Key
- Sign up at recapt.app
- Go to Installation in the sidebar
- 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
- Visit your site and interact with it
- Check Sessions in your recapt dashboard
- 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:
- Generate an MCP API key
- Configure your IDE (Cursor, VS Code, etc.)
- 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.
Part 3: Identify Users (Recommended)
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
- Self-Improvement Workflow: Understand the full autonomous workflow
- MCP Installation: Detailed setup for different IDEs
Optional
- User Identification: Advanced user and company tracking
- Event Tracking: Track custom events and actions
- Automatic Obfuscation: Protect sensitive data
- Integrations: Get notified in Slack, Zendesk, Intercom