# Amplitude Documentation — Full Corpus # Generated: 2026-05-20T16:54:26Z # Pages: 545 # Source: https://amplitude.com/docs/llms.txt ================================================================================ # Get Started URL: https://amplitude.com/docs/get-started Updated: 2026-05-20 ================================================================================ Start using Amplitude in minutes. Send data, build your first chart, share findings, and connect the rest of the platform: analytics, experimentation, and activation. {% outcomes heading="Get started" %} {% outcome icon="Plug" title="See your product in Amplitude today" href="/docs/get-started/amplitude-quickstart" %} Pick an SDK or source and start streaming events from your product in minutes. {% /outcome %} {% outcome icon="LineChart" title="Answer your first product question" href="/docs/get-started/setup-wizard-cli" %} Run the Setup Wizard CLI to instrument your codebase and get a first dashboard from one terminal command. {% /outcome %} {% outcome icon="MessageSquare" title="Reach users without shipping code" href="/docs/guides-and-surveys" %} Launch in-product guides and surveys to onboard, announce, and learn from users. {% /outcome %} {% outcome icon="FlaskConical" title="Test before you commit" href="/docs/feature-experiment/experiment-quick-start" %} Roll out behind a flag and run A/B tests so the data, not a hunch, drives the release. {% /outcome %} {% outcome icon="ShieldCheck" title="Trust the data your charts use" href="/docs/data/data-overview" %} Plan a taxonomy, validate events, and govern the data your team relies on every day. {% /outcome %} {% outcome icon="Users" title="Put findings in front of the right people" href="/docs/get-started/spaces" %} Use spaces to organize charts, dashboards, and notebooks for the team that owns the work. {% /outcome %} {% /outcomes %} ## Set up the foundation Create the account, project, and tracking plan that help Amplitude answer product questions from clean data. - [Create an account](/docs/get-started/create-a-new-account) to start your Amplitude workspace. - [Create a project](/docs/get-started/create-project) for the product or environment you want to analyze. - [Plan your implementation](/docs/get-started/plan-your-implementation) to connect business questions to the events you track. - [Identify users](/docs/get-started/identify-users) so Amplitude connects activity across sessions and devices. ## Build your first workflow After data flows into Amplitude, use charts and shared spaces to turn activity into decisions. - [Select events](/docs/get-started/select-events) that represent meaningful user actions. - [Create a chart](/docs/get-started/create-a-chart) to answer your first product question. - [Start from a template](/docs/get-started/start-from-template) to use prebuilt analysis patterns. - [Share work in spaces](/docs/get-started/spaces) so teammates can find related charts, dashboards, and notebooks. {% academy-link title="Getting Started with Amplitude Analytics" url="https://academy.amplitude.com/path/getting-started-with-amplitude-analytics-learning-path" description="Learn the most fundamental features of Amplitude Analytics, including cohorts." /%} ================================================================================ # Amplitude Quickstart URL: https://amplitude.com/docs/get-started/amplitude-quickstart Updated: 2026-04-12 ================================================================================ Get from zero to insights in minutes with three easy ways to get Amplitude up and running. ## Pick the best path for you Choose the setup path that fits how you work. All three options send data to the same Amplitude project. You can switch paths later if your needs change. {% card-grid columns="3" %} {% card kind="quickstart-path" eyebrow="Wizard CLI" title="Full SDK setup" href="#wizard-cli" icon="⌘" meta="~15 min" tone="blue" featured=true %} Best for developers or anyone comfortable in a terminal. The wizard detects your framework, authenticates you with Amplitude, and wires up the core implementation flow. Full SDK setup. AI-generated custom events. MCP, Slack, and Teams integration. {% /card %} {% card kind="quickstart-path" eyebrow="AI Prompt" title="Low-code setup" href="#ai-prompt" icon="✦" meta="~5 min" tone="purple" %} Best for teams that use AI coding tools. Paste one prompt into Cursor, Claude Code, Copilot, or another assistant and let it handle the implementation steps. Full SDK setup. Autocapture and Session Replay. Client-side initialization guidance. {% /card %} {% card kind="quickstart-path" eyebrow="Browser Snippet" title="Paste-and-go install" href="#browser-snippet" icon="▣" meta="~2 min" tone="teal" %} Best for web teams that want the fastest setup. Add one script tag to your site's `
` and start collecting browser data without a bundler. Script-tag install. Autocapture. Session Replay and remote config. {% /card %} {% /card-grid %} --- ## Wizard CLI Full SDK setup for developers. The wizard authenticates you with Amplitude, detects your framework, proposes custom events, and confirms that data reaches your project before it exits. {% prerequisites heading="What you get" %} {% prerequisite %} Full SDK setup with framework detection. {% /prerequisite %} {% prerequisite %} [Autocapture](/docs/data/autocapture), including sessions, clicks, page views, and forms. {% /prerequisite %} {% prerequisite %} [Session Replay](/docs/session-replay), [Feature Experiment](/docs/feature-experiment/workflow/feature-flag-rollouts), and [Guides & Surveys](/docs/guides-and-surveys). {% /prerequisite %} {% prerequisite %} AI-generated custom events plus [Amplitude MCP](/docs/amplitude-ai/amplitude-mcp), [Slack](/docs/analytics/integrate-slack), and [Teams](/docs/analytics/integrate-microsoft-teams) integration. {% /prerequisite %} {% /prerequisites %} {% steps %} {% step eyebrow="Run" title="Run the setup wizard" %} Run the command in your terminal, or run it from Claude Code inside your terminal. ```bash npx @amplitude/wizard ``` {% /step %} {% step eyebrow="Add" title="Add your API key" %} Paste the API key for the project you want to track when the wizard prompts you. {% callout type="info" heading="Where to find your API key" %} Go to _Settings > Projects_ and copy the API key for the project you want to track. Need an API key? Create a [free Amplitude account](https://app.amplitude.com/signup). {% /callout %} {% /step %} {% step eyebrow="Verify" title="Verify that data is flowing" %} Open the [Amplitude Debugger](/docs/analytics/debug-analytics) to confirm that the wizard's test events arrive in real time. {% /step %} {% /steps %} **Tips** - Use `--menu` to pick your framework instead of relying on auto-detection. - Requires Node.js 20. - Press `tab` during the wizard to ask questions or send feedback. --- ## AI Prompt Low-code setup with an AI assistant. Copy this prompt into an AI coding tool to set up the Amplitude Browser SDK for a JavaScript web app without running the full wizard flow. {% callout type="tip" heading="Set up with an AI prompt" %} Use this option when you want an AI tool to make the code changes for you. If you want Amplitude to detect your framework and propose events automatically, use [Wizard CLI](#wizard-cli) instead. {% /callout %} {% prerequisites heading="What you get" %} {% prerequisite %} Full SDK setup for a JavaScript web app. {% /prerequisite %} {% prerequisite %} [Autocapture](/docs/data/autocapture) and [Session Replay](/docs/session-replay). {% /prerequisite %} {% prerequisite %} Remote config for feature flags and guides. {% /prerequisite %} {% /prerequisites %} {% steps %} {% step eyebrow="Copy" title="Copy the prompt into your AI tool" %} Paste it into Cursor, Claude Code, Copilot, or another coding assistant that can edit your project. ```text Install and configure Amplitude for this JavaScript web application. Use API key: AMPLITUDE_API_KEY Requirements: - Run the implementation only on the client. - Initialize Amplitude once during app load. - Install the correct browser package for this project. - Enable fetchRemoteConfig: true. - Enable autocapture for attribution, page views, sessions, element interactions, form interactions, and file downloads. - Enable Session Replay with sampleRate: 1. - Preserve the project's existing TypeScript and framework patterns. ``` {% /step %} {% step eyebrow="Review" title="Review the generated changes" %} Confirm that the assistant installed the SDK, initialized it in the right client entry point, and kept the code client-side. {% /step %} {% step eyebrow="Verify" title="Verify that events arrive" %} After the changes land, open the [Amplitude Debugger](/docs/analytics/debug-analytics) and confirm that page views and session data reach your project. {% /step %} {% /steps %} **Tips** - Click the **API key** button in the code block to insert your key before you copy the prompt. - Create a [free Amplitude account](https://app.amplitude.com/signup) if you still need a project and API key. --- ## Browser Snippet Paste-and-go install for websites. Paste this script into the `` of your site when you want the fastest possible browser install without a build step or npm package. {% callout type="tip" heading="Set up with a browser snippet" %} Use this option for static sites, CMS-driven sites, or any project where a script tag is easier than an SDK install. If you want framework-aware setup, use [Wizard CLI](#wizard-cli) instead. {% /callout %} {% prerequisites heading="What you get" %} {% prerequisite %} Script-tag install with no bundler. {% /prerequisite %} {% prerequisite %} [Autocapture](/docs/data/autocapture) and [Session Replay](/docs/session-replay). {% /prerequisite %} {% prerequisite %} Remote config for feature flags. {% /prerequisite %} {% /prerequisites %} {% steps %} {% step eyebrow="Paste" title="Paste the snippet into your site's ``" %} Add it to every page you want to track. ```html ``` {% /step %} {% step eyebrow="Set" title="Set your API key and load the page" %} Replace the placeholder with your project's API key, then load a tracked page in your browser. {% /step %} {% step eyebrow="Confirm" title="Confirm data in Amplitude" %} Open the [Amplitude Debugger](/docs/analytics/debug-analytics) and check for page view, session, and interaction events. {% /step %} {% /steps %} **Tips** - Click the **API key** button in the code block to insert your key before you copy the snippet. - Use the EU CDN host if your project uses EU data residency. - Create a [free Amplitude account](https://app.amplitude.com/signup) if you need a project and API key. --- ## Take the next step After data starts flowing, use these guides to expand your implementation. {% card-grid columns="3" %} {% card kind="quickstart-link" title="Amplitude MCP server" href="/docs/amplitude-ai/amplitude-mcp" icon="⌁" tone="blue" %} Query your analytics data from Claude, Cursor, or any other MCP-compatible client without leaving your workflow. {% /card %} {% card kind="quickstart-link" title="Claude Code plugin" href="https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude" icon="✦" tone="purple" %} Install the Amplitude plugin for Claude Code to get built-in slash commands for charts, dashboards, and instrumentation work. {% /card %} {% card kind="quickstart-link" title="Custom events" href="/docs/sdks/analytics/browser/browser-sdk-2#track-an-event" icon="△" tone="green" %} Track the product events that matter to your business after Autocapture covers the basics. {% /card %} {% card kind="quickstart-link" title="User identification" href="/docs/sdks/analytics/browser/browser-sdk-2#custom-user-identifier" icon="◎" tone="orange" %} Connect anonymous activity to known users so you can analyze behavior across sessions and devices. {% /card %} {% card kind="quickstart-link" title="Group analytics" href="/docs/sdks/analytics/browser/browser-sdk-2#user-groups" icon="▣" tone="neutral" %} Analyze behavior at the account, workspace, or team level with user groups. {% /card %} {% card kind="quickstart-link" title="Session Replay" href="/docs/session-replay" icon="▶" tone="teal" %} Watch real user sessions alongside event data to find friction, confusion, and drop-off points. {% /card %} {% /card-grid %} ## More in this section - [Amplitude MCP server](/docs/amplitude-ai/amplitude-mcp). - [Claude Code plugin](https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude). - [Custom events](/docs/sdks/analytics/browser/browser-sdk-2#track-an-event). - [User identification](/docs/sdks/analytics/browser/browser-sdk-2#custom-user-identifier). - [Group analytics](/docs/sdks/analytics/browser/browser-sdk-2#user-groups). - [Session Replay](/docs/session-replay). ================================================================================ # Amplitude Setup Wizard CLI URL: https://amplitude.com/docs/get-started/setup-wizard-cli Updated: 2026-05-20 ================================================================================ One command, one terminal session. The wizard reads your actual codebase to propose events tailored to your app. You review and approve every change before the wizard writes anything. ```shell npx @amplitude/wizard ``` The wizard runs in your terminal. Amplitude is testing Claude Code in Terminal, with Claude Code Desktop, Cursor Desktop, and more in development. Run `npx @amplitude/wizard --help` for information about subcommands and options. {% callout type="note" %} The Amplitude Setup Wizard requires Node.js 20+. {% /callout %} {% callout type="tip" %} Prefer a manual setup? Follow the [Amplitude Quickstart](/docs/get-started/amplitude-quickstart) to instrument your site directly. {% /callout %} ## What happens when you run it 1. **Authenticate**: The wizard signs you in (or picks up an existing session) and lets you choose your org, project, and data region. 2. **Detect your framework**: The wizard scans your project to identify your stack. It supports 18+ frameworks including Next.js, React, Vue, Django, Flask, Swift, Android, Flutter, Go, and more. Web projects use [Browser SDK 2](/docs/sdks/analytics/browser/browser-sdk-2) or [Browser Unified SDK](/docs/sdks/analytics/browser/browser-unified-sdk). 3. **Propose and instrument events**: An Amplitude AI agent reads your codebase, proposes tracking events based on what your app does, and waits for your approval before writing any code. You don't need your own agent license. 4. **Set up MCP integration**: The wizard offers to install the Amplitude MCP server in your editor so you can query your analytics data in plain English. 5. **Verify**: The wizard polls the Amplitude API until it detects events arriving. Run your app, trigger some actions, and the wizard shows you the events as they flow in. 6. **Create charts and a dashboard**: The agent builds your first dashboard in Amplitude so you have something useful the moment data starts flowing. If you stop the wizard with Ctrl+C, it crashes, or you close the terminal, the wizard saves a checkpoint. Run it again in the same directory to resume. ## Access your data from wherever you work - **Terminal or IDE**: Use the Amplitude MCP server to ask questions about your data in plain English from Claude, Cursor, or any MCP-compatible AI tool. Agents can run the CLI using `--agent` or `--ci` mode. - **Claude Code plugin**: Install the [Amplitude plugin for Claude Code](https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude), which provides the same MCP tools along with built-in slash commands for quick access. Inside a Claude Code session: ```bash /plugin install amplitude ``` Or from your terminal: ```bash claude plugin install amplitude ``` After installing, run `/mcp` in Claude Code and follow the browser prompts to log in to Amplitude. The plugin includes slash commands like `/amplitude:create-chart`, `/amplitude:create-dashboard`, `/amplitude:instrument-events`, `/amplitude:replay-ux-audit`, `/amplitude:weekly-brief`, and more. - **Slack or Teams app**: Connect Amplitude to your team's messaging tool to get insights, create charts, and more where you work. ## Run it from an AI agent AI coding agents can drive the wizard end-to-end. Two non-interactive modes cover most automation: - `--agent` streams [NDJSON](https://github.com/ndjson/ndjson-spec) lifecycle events on stdout (one JSON object per line, each with a `v:1` envelope) so an orchestrator can render progress, file diffs, and prompts in real time. - `--ci` runs without prompts or color output, suitable for pipelines. Both modes auto-approve the wizard's prompts. The right way to skip the human depends on whether the user already has an Amplitude account. **Net-new Amplitude account.** Pass `--auth-onboarding create-account` plus the user's details so the wizard provisions the org, project, and app for them. Skip `--api-key` entirely. The wizard mints one as part of account creation. `--email`, `--full-name`, `--accept-tos`, and `--region` are all required when combining `create-account` with `--agent` or `--ci`, because the wizard has no TTY to prompt for them. ```shell npx @amplitude/wizard --agent \ --auth-onboarding create-account \ --email