Skip to content
Reccy Logo
Homepage Documentation Guides

Recorder Installation

The Reccy recorder captures user sessions including actions and network requests/responses. Recorded network requests may include authorization tokens, so only add trusted users to your Reccy organization.

Create an account at app.reccyai.com/signup. You’ll be prompted to create an organization, link a Git repository, and create a project.

The script tag method guarantees the recorder initializes before other scripts, ensuring all network responses are captured.

Add the recorder as the first script in your <head> tag:

<head>
<script
data-token="<<RECORDING_TOKEN>>"
src="https://app.reccyai.com/v1/reccy.js">
</script>
<!-- Your other scripts below -->
<script src="main_app.js"></script>
</head>

Add to your root layout.tsx:

app/layout.tsx
export default function RootLayout({ children }) {
return (
<html>
<head>
{process.env.NODE_ENV !== 'production' && (
<script
data-token={process.env.RECCY_TOKEN}
src="https://app.reccyai.com/v1/reccy.js"
/>
)}
</head>
<body>{children}</body>
</html>
);
}

After adding the snippet:

  1. Open your app (locally or in the target environment)

  2. Click around to record a session

  3. Check your Reccy dashboard under Sessions

When sessions appear, installation is complete!

Common causes:

  • Script not loading first — Ensure no other scripts precede the Reccy snippet
  • CSP blocking — Add Reccy domains to your Content Security Policy
  • Wrong recording token — Verify the token matches your project

If you have a Content Security Policy, add these exceptions:

script-src: https://app.reccyai.com
connect-src: https://app.reccyai.com

Once sessions are being recorded, set up tests in CI.