# Getting started with Session Replay - Docs

## See real user behavior

Install the PostHog SDK and enable [Session Replay](/docs/session-replay.md) with a couple lines of config.

PostHog automatically captures every click, scroll, input, and page view. Session recording starts the moment a user lands on your page.

Web and mobile are both supported by our SDKs.

### Platforms

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/react.svg)React Native](/docs/session-replay/installation/react-native.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/ios.svg)iOS](/docs/session-replay/installation/ios.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/Android_robot_bec2fb7318.svg)Android](/docs/session-replay/installation/android.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/js.svg)Web](/docs/session-replay/installation/web.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/react.svg)React](/docs/session-replay/installation/react.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/rr_logo_light_970950178e.svg)React Router](/docs/session-replay/installation/react-router.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/nextjs.svg)Next.js](/docs/session-replay/installation/nextjs.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/flutter.svg)Flutter](/docs/session-replay/installation/flutter.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/vue.svg)Vue](/docs/session-replay/installation/vue.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/html5_124a4f35e0.png)HTML snippet](/docs/session-replay/installation/html-snippet.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/angular.svg)Angular](/docs/session-replay/installation/angular.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/astro_icon_dark_23a13977ad.svg)Astro](/docs/session-replay/installation/astro.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/images/docs/integrate/frameworks/nuxt.svg)Nuxt](/docs/session-replay/installation/nuxt.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/remix_letter_glowing_49183adce2.svg)Remix](/docs/session-replay/installation/remix.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/svelte.svg)Svelte](/docs/session-replay/installation/svelte.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/unity_9f9c332941.svg)Unity](/docs/session-replay/installation/unity.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/webflow_63b6678590.svg)Webflow](/docs/session-replay/installation/webflow.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/framer_logo_icon_169149_d72b90e48e.svg)Framer](/docs/session-replay/installation/framer.md)

-   [![](https://res.cloudinary.com/dmukukwp6/image/upload/posthog.com/contents/docs/integrate/frameworks/bubble.svg)Bubble](/docs/session-replay/installation/bubble.md)

[Install PostHog SDK](/docs/session-replay/installation.md)

## Inspect replays with dev tools

Every session replay comes with a browser-like DevTools suite that is synced to the recording's timeline.

It's a full debugging environment with video playback.

![Session replay activity panel](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/annotated_replay_inspector_ec4ceb5761.png)![Session replay activity panel](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/annotated_replay_inspector_dark_c040e66ee5.png)

Open the **Activity** panel to inspect each moment.

-   Jump to any event in the session's timeline
-   See console logs, warnings, and errors exactly when they happened
-   Inspect the network waterfall to find slow or failed API calls

[Watch session replays](/docs/session-replay/how-to-watch-recordings.md)

## Create playlists and AI summaries

Session replays are fully enriched with PostHog events and properties, so you can query them like data.

Filter by rage clicks, JavaScript errors, custom events, user properties, or feature flag variants. Save them as collections and share playlists with your team.

![Session replay collection](https://res.cloudinary.com/dmukukwp6/image/upload/w_800,c_limit,q_auto,f_auto/light_playlist_annotated_d7f45dda32.png)![Session replay collection](https://res.cloudinary.com/dmukukwp6/image/upload/h_800,c_limit,q_auto,f_auto/dark_playlist_annotated_cf1718f7c6.png)

**Can't watch every recording? PostHog AI can.**

You can ask PostHog AI to search session replays and create playlists.

Better yet, ask PostHog AI to watch and summarize session recordings for you.

Try these PostHog AI prompts:

-   [`Summarize sessions where users dropped off at checkout`](https://app.posthog.com/#panel=max:Summarize%20the%20session%20replays%20where%20users%20dropped%20off%20at%20checkout)
-   [`What patterns do you see in sessions with rage clicks?`](https://app.posthog.com/#panel=max:What%20patterns%20do%20you%20see%20in%20sessions%20with%20rage%20clicks%3F)
-   [`What are users struggling with on the pricing page?`](https://app.posthog.com/#panel=max:What%20are%20users%20struggling%20with%20on%20the%20pricing%20page%3F)

[Build collections and AI summaries](/docs/session-replay/session-summaries-ai.md)

## Ship fixes with MCP

Use Claude Code, Codex, Cursor, or any MCP-compatible agent with the PostHog [MCP server](/docs/model-context-protocol.md).

With the PostHog MCP, your AI coding agent can query session replay and event data. Find sessions where a specific error occurred, pull the event timeline, and generate a fix in your codebase, all from your terminal or editor.

Bug report to PR, no context switching.

[Use the PostHog MCP](/docs/session-replay/search-replays-mcp.md)

## Integrate your tech stack

### Product Analytics

Click any data point in your funnels, retention charts, or user paths and land directly in a playlist of session replays for the users behind that number. No ID matching between tools, no export, same data layer powering both.

### Feature Flags

Filter recordings by which feature flag variant a user had. See exactly how users interacted with version A vs. version B. Roll out features or fixes without a full deploy.

![Session replay activity panel](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/sessionre_play_ff_light_b1a61f74a7.png)![Session replay activity panel](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/session_replay_ff_dark_b72ccea7ba.png)

### Error Tracking

When an exception fires, jump to the session replay to see exactly what the user was doing before and after the error. No reproduction needed.

## Use for free

PostHog's Session Replay is built to be cost-effective by default, with a generous free tier and transparent usage-based pricing. Since we don't charge per seat, more than 90% of companies use PostHog for free.

## TL;DR 💸

-   No credit card required to start
-   First 5K web recordings and 2.5k mobile recordings per month are free
-   Above that we have usage-based pricing starting at $0.005/recording with discounts
-   Set billing limits to avoid surprise charges
-   See our [pricing page](/docs/session-replay/pricing.md) for more up-to-date details

---

That's it! You're ready to start integrating.

[Get started free](https://app.posthog.com/signup)[Talk to a human](/talk-to-a-human.md)

1/6

[**See real user behavior** ***Install the PostHog SDK***](#quest-item-see-real-user-behavior)[**Inspect replays with dev tools** ***Watch session recordings***](#quest-item-inspect-replays-with-dev-tools)[**Create playlists and AI summaries** ***Filter and search replays***](#quest-item-create-playlists-and-ai-summaries)[**Ship fixes with MCP** ***Debug with AI agents***](#quest-item-ship-fixes-with-mcp)[**Integrate your tech stack** ***Connect product data***](#quest-item-integrate-your-tech-stack)[**Use for free** ***Free 5k web + 2.5k mobile recordings/month***](#quest-item-use-for-free)

**See real user behavior**

***Install the PostHog SDK***

### Community questions

Ask a question

### Was this page useful?

HelpfulCould be better