Platform

AI

Wave
Agents
Amplitude MCP
AI Feedback
Agent Analytics
Early Access Program

Insights

Product Analytics
Marketing Analytics
Session Replay
Heatmaps

Action

Guides and Surveys
Feature Experimentation
Web Experimentation
Feature Management
Activation

Data

Data Governance
Integrations
Security & Privacy
Solutions
Solutions that drive business results
Deliver customer value and drive business outcomes
Amplitude Solutions →

Industry

Financial Services
B2B
Media
Healthcare
Ecommerce

Use Case

Acquisition
Retention
Monetization

Team

Product
Data
Engineering
Marketing

Size

Startups
Enterprise
Resources

Learn

Blog
Resource Library
Compare
Glossary
Explore Hub

Connect

Community
Events
Customers
Partners

Support & Services

Customer Help Center
Developer Hub
Product Updates
Academy & Training
Customer Success

Tools

Benchmarks
Prompt Library
Templates
Tracking Guides
Maturity Model
Event Taxonomy Generator
Pricing
LoginContact salesGet started

AI

WaveAgentsAmplitude MCPAI FeedbackAgent AnalyticsEarly Access Program

Insights

Product AnalyticsMarketing AnalyticsSession ReplayHeatmaps

Action

Guides and SurveysFeature ExperimentationWeb ExperimentationFeature ManagementActivation

Data

Data GovernanceIntegrationsSecurity & Privacy
Amplitude Solutions →

Industry

Financial ServicesB2BMediaHealthcareEcommerce

Use Case

AcquisitionRetentionMonetization

Team

ProductDataEngineeringMarketing

Size

StartupsEnterprise

Learn

BlogResource LibraryCompareGlossaryExplore Hub

Connect

CommunityEventsCustomersPartners

Support & Services

Customer Help CenterDeveloper HubProduct UpdatesAcademy & TrainingCustomer Success

Tools

BenchmarksPrompt LibraryTemplatesTracking GuidesMaturity ModelEvent Taxonomy Generator
LoginSign Up

Introducing Amplitude wizard CLI: Set up Amplitude from your codebase

A one-command path to a fully instrumented Amplitude project, without leaving your terminal
Product

Apr 30, 2026

6 min read

Cassie Peretore

Cassie Peretore

Senior Product Manager, Amplitude

The Amplitude Wizard in all its 8-bit CLI glory

This blog post was co-authored by Will Chin, Principal Product Manager at Amplitude.

TL;DR:

npx @amplitude/wizard
LITTLE BIT LONGER VERSION:

We just shipped the Amplitude Wizard CLI, an AI-powered command-line tool that sets up the Amplitude platform from the heart of your product: your code. It handles sign-up, SDK installation, custom instrumentation derived from your product flows, verification, MCP install, and more.

Today’s Wizard handles setup. Coming soon: every Amplitude operation is a first-class command. Built for developers and the AI agents working alongside them.

Setting up an analytics tool usually looks something like this: one tab for the analytics tool itself, one for developer docs, one for your app, plus your terminal or IDE. You get all that prepped, and you’re about ready to decide where to install the SDK. Then it dawns on you …

What exactly do I need to track? How do I translate my analysis questions into events? What about event properties? Shoot, user properties too?

These fundamental questions are hard to answer if you aren’t already an analytics expert, and the decisions you make today could shape what your data looks like for years. That’s a lot of pressure.

But honestly, you really shouldn’t have to figure this out alone. Your code holds the answers. So we built a setup CLI that starts there.

Figuring out what to track is the hard part, but your code already knows

The whole point of analytics is to answer your top-of-mind product questions. But in order to set up the instrumentation that allows you to answer those questions, you’ve had to get into the technical weeds of what to track and how to track it:

  • For a multi-step checkout, do you fire one event per step, or one event with current_step as a property?
  • If Autocapture captures clicks, is your custom cta_clicked event a duplicate or a useful semantic layer on top?
  • What do you name your events?

All this just to check on your conversion rate? That seems harder than it needs to be. And from instrumenting thousands of products, we realized that it is. Your routes, pages, and key flows already encode your instrumentation answers.

We built the Amplitude Wizard to uncover those answers in your codebase. It reads your code, then proposes and executes a starter tracking plan. And it isn’t just an easier way to build your schema: instrumentation from the codebase is faster, higher-quality, and fits how your product actually works.

Initiating the whole Amplitude platform

To use the Wizard, go into your project and run:

npx @amplitude/wizard

An agent then guides you through a full-scale Amplitude implementation in about 20 minutes or less.

Beyond not having to leave your tools, the thing that really makes the Wizard CLI feel different is that it doesn’t stop at “package installed.” Real instrumentation touches every Amplitude surface, and the code is the only place with enough context to wire all of them in one pass.

What it handles end-to-end
  1. Sign up or sign in via browser-based OAuth
  2. Detects your framework
    1. Supported: Next.js, Vue, React Router, Django, Flask, FastAPI, Swift, React Native, Android, Flutter, Go, Java, Unreal, Unity, plus JavaScript (web and Node), Python, and a generic fallback
  3. Installs the right SDK with whichever package manager your project already uses: npm, pnpm, yarn, bun, pip, and friends
  4. Writes the init code and your first events by reading your codebase for context so you’re not starting from a blank track() call
  5. Configures the power of the Amplitude platform: Autocapture, Session Replay, Feature Experiment, Guides & Surveys, etc.
  6. Drops the right API key into your .env file (no copy/paste from the Amplitude UI, the Wizard pulls it for you)
  7. Verifies ingestion by polling until it sees your first event land, so you know it worked
  8. MCP install for your IDE, so you can query Amplitude from your code, too
    1. Supported: Claude Code, Claude Desktop, Cursor, VS Code, Zed, and Codex
  9. Slack integration, so you can share learnings where your team works
Security defaults
  • API keys are never printed to the terminal after they’re written to .env
  • Logs are redacted
  • .gitignore is checked before any key hits disk
  • OAuth follows the same browser-based pattern Claude Code uses for auth
  • Telemetry can be disabled with DO_NOT_TRACK=1. Diagnostics shared via /feedback are consent-gated.

What’s next for the Wizard

The Wizard CLI is so much of an improvement to traditional setup that it’s our new recommended path to a working Amplitude implementation. We’re not stopping there.

Today’s Wizard is a CLI you run and step through. The custom instrumentation is a first pass. It covers the obvious flows well, but doesn’t yet handle the harder taxonomy work or stay in sync as your code changes.

We’re building to turn the CLI into an engine, and the interface won’t be the CLI for long. It’ll be the AI agent you’re already chatting with:

“Hey Claude, I want to add Amplitude to this app. Go sign up and set it up for me.”

That self-driving version is coming really soon. And once it’s here, every Amplitude operation, not just setup, will become a first-class command the agent can call:

npx @amplitude/wizard        # first-run wizard (today)
amplitude chart list         # list charts
amplitude cohort create      # create a cohort
amplitude experiment deploy  # deploy an experiment

Setup is the first step

The Wizard CLI is useful right now. It will get you set up faster than existing setup options, and we’d love for you to try it. But even though CLIs are a hot commodity right now, the CLI isn’t really the point.

The point is that analytics work belongs in the same place as the code that generates the events. Your IDE is the surface. Your AI coding agent is the interface. Your code is the context. Setup is just the most obvious place to start this mindset shift because it’s the most easily-isolated piece of work, but the same logic extends well past setup.

The setup Wizard makes the first step easier. Everything else gets easier once you realize that this is where the work belongs.

Try the Wizard now:

npx @amplitude/wizard

or read more about it in our docs.

Tell us what’s missing by filing an issue on GitHub, using /feedback within the Wizard, or dropping us a note at wizard@amplitude.com. We’re shipping fast and reading everything.

About the author
Cassie Peretore

Cassie Peretore

Senior Product Manager, Amplitude

More from Cassie

Cassie is a PM at Amplitude, determined to make it easier than ever to get (great) data flowing in Amplitude.

More from Cassie
Topics

Amplitude AI

Engineering

Getting Started

Product Analytics

Recommended Reading

article card image
Read 
Product
How to Secure AI Agent Traces Without Losing the Signal

Aug 28, 2026

7 min read

article card image
Read 
Product
Connecting agent performance to product outcomes

Aug 20, 2026

10 min read

article card image
Read 
Customers
The hidden cost of a bad AI answer

Aug 19, 2026

6 min read

article card image
Read 
Insights
Verification loops in software factories: What PMs need to know

Aug 19, 2026

11 min read

Platform
  • AI Agents
  • Agent Analytics
  • AI Feedback
  • Amplitude MCP
  • Product Analytics
  • Web Analytics
  • Feature Experimentation
  • Feature Management
  • Web Experimentation
  • Session Replay
  • Guides and Surveys
  • Activation
Compare us
  • Adobe
  • Google Analytics
  • Contentsquare
  • Fullstory
  • Heap
  • LaunchDarkly
  • Mixpanel
  • Optimizely
  • Pendo
  • PostHog
Resources
  • Resource Library
  • Blog
  • Agent Prompt Library
  • Product Updates
  • AI Early Access Program
  • Amp Champs
  • Amplitude Academy
  • Events
  • Glossary
  • Free Chart Maker
Partners & Support
  • Status
  • Contact Us
  • Customer Help Center
  • Community
  • Developer Docs
  • Partner Program
  • Partner Directory
  • Become an affiliate
Company
  • About Us
  • Careers
  • Press & News
  • Investor Relations
  • Diversity, Equity & Inclusion
View markdown
Terms of ServicePrivacy NoticeAcceptable Use PolicyLegal
EnglishJapanese (日本語)Korean (한국어)Español (LATAM)Español (Spain)Português (Brasil)Português (Portugal)FrançaisDeutsch
© 2026 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.
Blog
InsightsProductCompanyCustomers
Topics

101

AI

APJ

Acquisition

Adobe Analytics

Agents

Amplify

Amplitude AI

Amplitude Academy

Amplitude Activation

Amplitude Agent Analytics

Amplitude Analytics

Amplitude Audiences

Amplitude Community

Amplitude Feature Experimentation

Amplitude Full Platform

Amplitude Guides and Surveys

Amplitude Heatmaps

Amplitude Made Easy

Amplitude Session Replay

Amplitude Web Experimentation

Amplitude on Amplitude

Analytics

B2B SaaS

Behavioral Analytics

Benchmarks

Churn Analysis

Cohort Analysis

Collaboration

Consolidation

Conversion

Customer Experience

Customer Lifetime Value

Customer Support

DEI

Data

Data Governance

Data Management

Data Tables

Digital Experience Maturity

Digital Native

Digital Transformer

EMEA

Ecommerce

Employee Resource Group

Engagement

Engineering

Event Tracking

Experimentation

Feature Adoption

Financial Services

Funnel Analysis

Getting Started

Global Agent

Google Analytics

Growth

Healthcare

How I Amplitude

Implementation

Integration

Kimi

LATAM

LLM

Life at Amplitude

MCP

Machine Learning

Marketing Analytics

Media and Entertainment

Metrics

Modern Data Series

Monetization

Next Gen Builders

North Star Metric

Open-Weight AI Models

Partnerships

Personalization

Pioneer Awards

Privacy

Product 50

Product Analytics

Product Design

Product Management

Product Releases

Product Strategy

Product-Led Growth

Recap

Retention

Revenue

Startup

Tech Stack

The Ampys

Warehouse-native Amplitude