Docs: set up in one prompt.
Paste one prompt into your coding agent; it installs IonBlink, checks a test event and opens one pull request.
Paste intoClaude CodeCodexCursor
Set up IonBlink in this project by following the instructions at https://app.ionblink.com/setup.md
Set up with your coding agent
Paste the prompt above into Claude Code, Codex or Cursor. The agent reads setup.md and then:
- asks you to approve it in your browser (one click, signed in to IonBlink);
- finds your framework and adds the SDK the right way for it (Next.js, React, Vue, Svelte, Astro, plain HTML, Expo, React Native);
- adds a first-party route so the script loads from your own domain;
- sends a test event and waits until IonBlink sees it;
- opens one pull request with every change, which you review and merge.
It never changes privacy settings and never merges on its own.
Add the script by hand
Put this before </head> on every page, with your site's public key from Settings › Sites:
<script src="https://api.ionblink.com/sdk/v1.js" data-key="ib_pk_…" async></script>
Or install the package and start it once:
npm i @ionblink/web
import { ionblink } from "@ionblink/web";
ionblink.init("ib_pk_…");
The core is about 9 KB gzipped and loads replay only when it is allowed to record. Inputs are masked as they are recorded; password, card, one-time-code, email and phone fields are never captured.
People and events
Name people once they sign in, so their sessions join up and the verdict carries their email:
ionblink.set({ id: "u_123", email: "ada@example.com", name: "Ada", company: { id: "c_9", name: "Acme" } });
ionblink.event("Report Exported", { format: "pdf" });
ionblink.reset(); // after sign-out
Pages, clicks, rage and dead clicks, errors and failed requests are captured without code. If you run a consent banner, pass its answer:
ionblink.consent({ analytics: true, replay: false });
iOS and Android
For Expo and React Native apps:
npx expo install @ionblink/react-native
Then add the plugin with your key to app.json. Replay on phones waits for the person's consent in every region.
{ "expo": { "plugins": [["@ionblink/react-native", { "key": "ib_pk_…" }]] } }
Connect the MCP server
Give your coding agent your visitors, verdicts, replay frames and fix packs. What the MCP does.
Claude Code
claude mcp add --transport http ionblink https://app.ionblink.com/mcpThen run /mcp in Claude Code and sign in.
Cursor
{"mcpServers":{"ionblink":{"url":"https://app.ionblink.com/mcp"}}}Paste into ~/.cursor/mcp.json, or open the link to add it. Add to Cursor
Codex
codex mcp add ionblink --url https://app.ionblink.com/mcpCodex opens your browser to sign in.
VS Code
code --add-mcp '{"name":"ionblink","type":"http","url":"https://app.ionblink.com/mcp"}'Then start the server from the MCP view.
Other
{"mcpServers":{"ionblink":{"type":"http","url":"https://app.ionblink.com/mcp"}}}Any client that takes a remote MCP URL with OAuth.
Privacy defaults
- Visitors in the EEA, UK, Switzerland and Quebec aren't recorded or identified before they agree; before that, only storage-free counts.
- The Global Privacy Control signal turns replay off everywhere else.
- IP addresses are used for a city lookup, then dropped.
- Everything expires after 6 months by default (12 on Scale).
More on security and privacy. Ingest is at https://api.ionblink.com/v1/batch; the app is at app.ionblink.com.