Skip to main content
Get from an existing project to a working Confidence integration with one command. The wizard signs you in, installs the SDK for your framework, and configures Claude Code, Cursor, or Codex so you can keep working in your editor.
Requires Node.js 24 or later. Run the command from the project you want to integrate.

What You Can Set Up

Choose one or more goals in the wizard:
  • Feature flags. Install the SDK and add a working flag example in your project.
  • Event tracking. Instrument events so you can measure user behavior.
  • Session recordings (beta). Capture user sessions.
The wizard also installs the Confidence plugin and connects the flags and docs tools. After setup, ask your assistant to:
  • Create a flag, add variants, and set a targeting rule
  • Add that flag to the checkout page in the repository
  • Search the Confidence documentation and apply the recommended SDK pattern
  • Migrate flags from PostHog, Eppo, Statsig, or Optimizely when the wizard detects an existing provider
For prompts that cover experiments, see Use AI with Confidence.

What the Wizard Does

  1. Checks the required tools and detects your framework.
  2. Signs you in to your Confidence workspace.
  3. Installs the Confidence plugin for Claude Code, Cursor, or Codex.
  4. Connects the Confidence flags and docs tools.
  5. Asks which features to set up.
  6. Shows the planned changes and waits for confirmation.
  7. Uses your AI assistant to integrate the SDK and produce a working example.
The wizard detects React, Next.js, Node.js, Python, Swift, Kotlin, Java, and Go. If it cannot detect the framework, choose TypeScript, JavaScript, or another supported SDK.

After Setup

Open the project in the IDE you configured and try these prompts:
Create a flag called “checkout-redesign” and add it to the checkout page. Show the recommended Confidence SDK pattern for this project.
The assistant uses the plugin and the connected tools. Run the wizard again in the same directory if you skipped a step.

Options

During project setup, the wizard asks before the AI assistant modifies files or installs packages. See the CLI README for the permissions each assistant uses.

Use AI with Confidence

Connect MCP servers yourself and manage flags or experiments with prompts

SDK Integration

Integrate Confidence SDKs into your application

Configure a Flag

Create a feature flag in the Confidence UI

Migrate to Confidence

Migrate from PostHog, Eppo, Statsig, or Optimizely