# Subtext ## Docs - [Configure Content Security Policy for the Subtext Capture Snippet](https://subtext.fullstory.com/docs/api/csp.md): Allow the Subtext capture snippet's script and network requests through your app's Content Security Policy. - [Get a link to the current session recording](https://subtext.fullstory.com/docs/api/get-session.md): Return a clickable URL to the current session recording so a teammate can jump from another tool straight to the matching replay. - [Identify Users in Your Subtext Sessions](https://subtext.fullstory.com/docs/api/identification.md): Attach a stable user ID and user properties to a session with FS('setIdentity') so you can find and filter sessions by the person they belong to. - [Mark Sensitive Elements with Privacy Classes](https://subtext.fullstory.com/docs/api/privacy-classes.md): Add FullStory privacy CSS classes like fs-exclude, fs-mask, and fs-unmask to your markup to exclude or mask sensitive elements from session capture. - [Manually Install and Configure Subtext Step by Step](https://subtext.fullstory.com/docs/install/manual.md): Set up Subtext's capture snippet, agent plugin, and MCP server manually — ideal for custom frameworks, monorepos, or full control over the integration. - [Install Subtext in a Next.js App Router Application](https://subtext.fullstory.com/docs/install/next-app-router.md): Add the Subtext capture snippet to your Next.js App Router project by inserting it into app/layout.tsx using the Script component. - [Subtext Installation: Snippet and MCP Server Overview](https://subtext.fullstory.com/docs/install/overview.md): Learn the two parts of Subtext setup: adding the capture snippet to your web app and connecting your AI coding agent via the MCP server. - [Install the Subtext Snippet in Your React Application](https://subtext.fullstory.com/docs/install/react.md): Add the Subtext capture snippet to your React application by inserting the script tag into your root HTML template, public/index.html. - [Install the Subtext Snippet in Your Remix Application](https://subtext.fullstory.com/docs/install/remix.md): Add the Subtext capture snippet to your Remix app by inserting an inline script into your root route using dangerouslySetInnerHTML. - [Subtext Capture Snippet: What It Is and How It Works](https://subtext.fullstory.com/docs/install/snippet.md): The Subtext capture snippet loads fs.js from Fullstory's edge network and records full production sessions with automatic form input masking. - [Install the Subtext Snippet in Your Vite Application](https://subtext.fullstory.com/docs/install/vite.md): Add the Subtext capture snippet to a Vite project by inserting the script tag into your index.html file at the project root directory. - [Amplitude and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/amplitude.md): Attach the Subtext session URL to Amplitude, then jump from any Amplitude signal — an anomaly alert, a dashboard email, a funnel drop — straight into the user's real session. - [Appcues and Subtext: From a Flow to the Session](https://subtext.fullstory.com/docs/integrations/appcues.md): Attach the Subtext session URL to Appcues, then jump from any flow signal — a skipped step, an abandoned onboarding, a losing A/B variant — straight into the user's real session. - [ClickHouse and Subtext: From a Query to the Session](https://subtext.fullstory.com/docs/integrations/clickhouse.md): Keep the Subtext session URL as a queryable column in ClickHouse, then jump from any SQL result — a spiking error event, a dropped cohort — straight into the user's real session. - [Datadog and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/datadog.md): Attach the Subtext session URL to Datadog RUM, then jump from any Datadog signal — a tripped monitor, a RUM error, an incident dashboard — straight into the user's real session. - [GrowthBook and Subtext: From an Experiment Result to the Session](https://subtext.fullstory.com/docs/integrations/growthbook.md): Attach the Subtext session URL to your GrowthBook exposures, then jump from a variation that moved a metric straight into the real session of a user who saw it. - [Hightouch and Subtext: From a Cohort to the Session](https://subtext.fullstory.com/docs/integrations/hightouch.md): Attach the Subtext session URL to Hightouch Events, then jump from any warehouse cohort — a campaign, a computed audience, a bad-event sync — straight into the user's real session. - [Intercom and Subtext: From a Conversation to the Session](https://subtext.fullstory.com/docs/integrations/intercom.md): Attach the Subtext session URL to your Intercom contacts, then jump from any support conversation — a ticket, an escalation, a bad CSAT — straight into the user's real session. - [LangSmith and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/langsmith.md): Attach the Subtext session URL to LangSmith trace metadata, then jump from any flagged run — an error, a low eval score, a thumbs-down — straight into the user's real session. - [LaunchDarkly and Subtext: From a Flag to the Session](https://subtext.fullstory.com/docs/integrations/launchdarkly.md): Attach the Subtext session URL to the LaunchDarkly context, then jump from any flag signal — a guarded-rollout regression, a losing experiment, an error spike — straight into the user's real session. - [LogRocket and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/logrocket.md): Attach the Subtext session URL to LogRocket, then jump from any LogRocket signal — an error alert, a rage click, a hard-to-read replay — straight into the user's real session. - [Metabase and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/metabase.md): Format the Subtext session URL as a clickable link in Metabase, then jump from any dashboard tile, question, or alert straight into the user's real session. - [Mixpanel and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/mixpanel.md): Attach the Subtext session URL to Mixpanel, then jump from any Mixpanel signal — an Insights alert, a board digest, a funnel drop — straight into the user's real session. - [OpenTelemetry and Subtext: From a Trace to the Session](https://subtext.fullstory.com/docs/integrations/opentelemetry.md): Link the Subtext session to your OpenTelemetry traces, then jump from any red trace — a latency alert, an error spike, an incident dashboard — straight into the user's real session. - [Integrations: Jump from Your Tools into the Session](https://subtext.fullstory.com/docs/integrations/overview.md): Attach the Subtext session URL to the analytics, monitoring, and product tools you already use, so any signal links straight to the user's real session. - [Pendo and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/pendo.md): Attach the Subtext session URL to Pendo, then jump from any Pendo signal — a dismissed guide, an NPS detractor, a path drop-off — straight into the visitor's real session. - [PostHog and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/posthog.md): Attach the Subtext session URL to PostHog, then jump from any PostHog signal — a funnel drop, an exception, an alert — straight into the user's real session. - [Segment and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/segment.md): Attach the Subtext session URL to Segment traits and events, then jump from any Segment signal — a warehouse funnel drop, a computed audience, a Protocols alert — straight into the user's real session. - [Sentry and Subtext: From an Error to the Session](https://subtext.fullstory.com/docs/integrations/sentry.md): Attach the Subtext session URL to Sentry as a tag, then jump from any error or performance issue straight into the user's real session. - [Snowplow and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/snowplow.md): Attach the Subtext session URL to every Snowplow event as a custom entity, then jump from any modeled behavioral signal — a funnel drop, a failed-events spike, an odd custom event — straight into the user's real session. - [Sprig and Subtext: From a Survey Response to the Session](https://subtext.fullstory.com/docs/integrations/sprig.md): Attach the Subtext session URL to your Sprig survey responses, then jump from any low score or open-text comment straight into the user's real session. - [Statsig and Subtext: From a Signal to the Session](https://subtext.fullstory.com/docs/integrations/statsig.md): Attach the Subtext session URL to Statsig, then jump from any Statsig signal — a tripped guardrail, a red scorecard, a suspicious exposure — straight into the exposed user's real session. - [Userpilot and Subtext: From a Flow Drop to the Session](https://subtext.fullstory.com/docs/integrations/userpilot.md): Attach the Subtext session URL to Userpilot, then jump from any onboarding drop or flow-step leak straight into the user's real session. - [Subtext: Session Replay and Devtools Built for AI Agents](https://subtext.fullstory.com/docs/introduction.md): Subtext gives AI coding agents visibility into your running application — session replay, a hosted browser, and a semantic map of your UI. - [Privacy and PII Governance for Agent Sessions in Subtext](https://subtext.fullstory.com/docs/privacy/overview.md): Subtext masks form inputs from the moment you install, and gives your agent tools to scan sessions for PII and govern masking rules across all sessions. - [Tagging Sensitive Elements for Masking and Exclusion](https://subtext.fullstory.com/docs/privacy/sensitive-elements.md): Decide which elements to tag so sensitive content is masked or excluded from session capture before you deploy. - [Subtext Privacy MCP Tools: Complete Reference Guide](https://subtext.fullstory.com/docs/privacy/tools-reference.md): Complete reference for Subtext's privacy MCP tools: privacy-propose, privacy-create, privacy-list, privacy-promote, and privacy-delete. - [Subtext Quickstart: Set Up Session Replay for AI Agents](https://subtext.fullstory.com/docs/quickstart.md): Install Subtext, add the capture snippet to your app, and connect your AI coding agent to real production session replay in under 5 minutes. - [LangSmith Trace Review: From a Flagged Run to the User's Session](https://subtext.fullstory.com/docs/recipes/langsmith-trace-review.md): When a LangSmith trace of your agent gets flagged, automatically open the end-user's Subtext session and have a triage agent reason over both — before a human has to notice. - [Linear and Subtext: Triage from the Real Session](https://subtext.fullstory.com/docs/recipes/linear.md): Have Linear's agent triage incoming issues automatically — opening the Subtext session, diagnosing the UX flow, and posting a comment backed by real session evidence. - [Session Review: AI Agent Debugging from Real Sessions](https://subtext.fullstory.com/docs/session-review/overview.md): Session Review lets your AI agent open real production sessions, step through events, capture UI snapshots, and compare state — without human scrubbing. - [Subtext Skills: Agent Workflows for Session Review](https://subtext.fullstory.com/docs/session-review/skills.md): Subtext skills are slash commands that teach your agent structured workflows — from reading the event map to explaining what happened in a session. - [Subtext Session Review: Complete MCP Tools Reference](https://subtext.fullstory.com/docs/session-review/tools-reference.md): Complete reference for all Subtext session review MCP tools: review-list-sessions, review-open, review-summary, review-zoom, review-snapshot, review-close. - [Artifacts: Upload and Share Agent Work Evidence in Subtext](https://subtext.fullstory.com/docs/verify/artifacts.md): Subtext Artifacts let your agent upload screenshots and documents to cloud storage and retrieve shareable signed URLs for team review. - [Subtext Live Browser: Cloud-Hosted Devtools for AI Agents](https://subtext.fullstory.com/docs/verify/live-browser.md): A cloud-hosted browser for AI agents: Sightmap-enriched snapshots, network inspection, device emulation, and full interaction support in Subtext Verify. - [Live Browser MCP Tools Reference for Subtext Verify](https://subtext.fullstory.com/docs/verify/live-tools.md): Complete reference for Subtext Verify's live browser MCP tools — connection, navigation, interaction, network inspection, scripting, and emulation. - [Subtext Verify: Beta Tooling for Agent-Driven Verification](https://subtext.fullstory.com/docs/verify/overview.md): Verify is Subtext's closed beta tooling — a cloud-hosted browser, proof documents, artifacts, and Sightmap integration for agent-driven UI verification. - [Proof Docs: Permanent Evidence Records of Agent Work](https://subtext.fullstory.com/docs/verify/proof-docs.md): Subtext Proof Docs are permanent, evidence-backed records your agent creates to document UI changes — with before/after screenshots, diffs, and logs. - [Verify Skills: Agent Workflows for Browser and Proof Docs](https://subtext.fullstory.com/docs/verify/skills.md): Subtext Verify skills are slash commands for beta tooling — hosted browser automation, proof document creation, Sightmap authoring, and tunnel setup. - [Subtext Tunnel: Connect the Hosted Browser to Localhost](https://subtext.fullstory.com/docs/verify/tunnel.md): Subtext Tunnel creates a reverse tunnel between the cloud-hosted browser and your local dev server so your agent can test against localhost.