> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ironbee.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> IronBee (ironbee.ai) is an AI QA engineer: it verifies code changes against the running app and keeps the evidence. It is not related to the IronBee open-source web application firewall.
> The console is at https://console.ironbee.ai.
> Install the CLI with `npm install -g @ironbee-ai/cli`, sign in with `ironbee login`, and set up a project with `ironbee install`.
> In GitHub workflows, use the action as `ironbee-ai/ironbee-action@v1` and pass the `IRONBEE_API_KEY` secret as the `ironbee_api_key` input.
> In GitLab pipelines, include the component `gitlab.com/ironbee-ai/ironbee-gitlab/verify@v1`; it reads the `IRONBEE_API_KEY` CI/CD variable by default.
> In Bitbucket Pipelines, run the pipe `docker://ghcr.io/ironbee-ai/ironbee-bitbucket:v1` and pass `IRONBEE_API_KEY: $IRONBEE_API_KEY` and `BITBUCKET_OAUTH_TOKEN: $BITBUCKET_OAUTH_TOKEN` under its `variables:`.
> Console scenarios (https://docs.ironbee.ai/console/scenarios) and CLI saved scenarios (https://docs.ironbee.ai/cli/guides/scenarios) are separate features.
> For plans and prices, link to https://ironbee.ai/pricing; the website is the source of truth for them.

# Get started with the IronBee CLI

> Sign up, install the IronBee CLI, and set it up in your first project.

The IronBee CLI connects your AI coding agent to IronBee. Once installed in a project, it wires up the hooks and tools your agent needs so that every code change gets verified before a task is marked complete.

This guide covers the basics: create an account, install the CLI, sign in, and set up your first project. That's all you need to get going; deeper configuration comes later.

## Prerequisites

* **Node.js 22 or later** - check with `node --version`
* An AI coding client: [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [Cursor](https://cursor.com), or [Codex CLI](https://github.com/openai/codex)

***

## Overview

**1. Create your account**

Sign up at [console.ironbee.ai](https://console.ironbee.ai).

**2. Install the CLI**

`npm install -g @ironbee-ai/cli` installs the `ironbee` command globally.

**3. Sign in**

`ironbee login` connects the CLI to your account. One time per machine.

**4. Set up your project**

`cd` into your project and run `ironbee install` to wire up your AI client.

***

## Step 1: Create your account

Go to [console.ironbee.ai](https://console.ironbee.ai) and sign up. If you already have an account, just sign in.

Your account gives you access to the dashboard and is what the CLI connects to in the next steps.

***

## Step 2: Install the CLI

Install the CLI globally with npm:

```bash theme={null}
npm install -g @ironbee-ai/cli
```

Verify the installation:

```bash theme={null}
ironbee --version
```

***

## Step 3: Sign in

From any directory, run:

```bash theme={null}
ironbee login
```

This opens **Connect CLI** on [console.ironbee.ai](https://console.ironbee.ai) in your browser. Sign in if you're asked to; the console then authorizes the CLI on its own, and the CLI stores a personal OAuth access token locally. You only need to do this once per machine.

When it completes, the terminal prints a confirmation:

```
✓ Logged in successfully!
  Console   https://console.ironbee.ai
  Collector https://collector.service.ironbee.ai
  API       https://api.service.ironbee.ai
  Domain    ironbee.ai
  Token     personal (my-laptop)
  Config    /Users/you/.ironbee/config.json
```

> [!NOTE]
>
> If the browser doesn't open automatically, the CLI prints a URL you can paste in manually. Running in CI with no browser? Use an account API key instead, see [Authentication](https://docs.ironbee.ai/cli/guides/authentication.md).

***

## Step 4: Set up your project

Navigate to the project you want to use IronBee with, then run the installer:

```bash theme={null}
cd your-project
ironbee install
```

IronBee detects your AI client (Claude Code, Cursor, or Codex) and sets it up automatically. If it can't detect one - or detects **more than one** - it asks which client(s) to install for: a checkbox multi-select where **space** toggles a client, **`a`** selects all, and **Enter** confirms (so you can set up several at once). When several were detected they come pre-checked; deselect any you don't want.

![Checkbox multi-select titled 'Which client(s) to install for?' with claude checked and cursor and codex unchecked](https://mintcdn.com/ironbee/SCVDNf59c_RrstXj/images/cli/client-selection.png?fit=max\&auto=format\&n=SCVDNf59c_RrstXj\&q=85\&s=f89da7fdd97b04ef41fb493ccd196aac)

Then it walks you through a few quick arrow-key pickers. First, **which verification mode** to run:

* **`assist`** *(default)*: the verifier and `/ironbee-verify` are installed so the agent verifies when you ask, but nothing blocks task completion.
* **`enforce`**: changes must pass every active cycle before a task can complete. Enforce also asks how strict the gate is and whether a failed verification must be fixed.
* **`monitor`**: tracking only. Sessions, activity, and tool calls are recorded to the Collector; no verification machinery is installed.

![Arrow-key picker titled 'Which verification mode?' with auto verify (enforce), assist, and monitor only options, the cursor on assist](https://mintcdn.com/ironbee/Bg6_3zMV-DRGAwOd/images/cli/verification-mode-selection_assist.png?fit=max\&auto=format\&n=Bg6_3zMV-DRGAwOd\&q=85\&s=c07acacd85f73df60e6ae9d537a6d5f0)

Then, unless you chose `monitor`, **which platforms to verify**:

* **Browser**: on by default; covers most frontend work.
* **Node**, **Python**, **Backend**, **Android**, and **Terminal**: opt-in; enable any you want gated.
* Not sure which to pick? Press **`s`** to let IronBee analyze your project with your AI client (Claude Code, Codex or Cursor) and suggest the set.

Unless you chose `monitor`, the installer can also set up [project checks](https://docs.ironbee.ai/cli/guides/verification.md#project-checks-run-first-lint-tests-types) (beta): commands such as lint and tests that run first in every verification. In enforce mode a failing required check blocks completion. In assist mode the checks run when the agent verifies, but never block.

![Multi-select titled 'Which platforms should require verification?' with browser checked and node, backend, android, and terminal unchecked](https://mintcdn.com/ironbee/SCVDNf59c_RrstXj/images/cli/platform-selection_browser.png?fit=max\&auto=format\&n=SCVDNf59c_RrstXj\&q=85\&s=1ca905e1ce1403d4c43c1824995b5333)

![Platform multi-select with the 's suggest (claude)' key highlighted and 'Analysing project with claude…' shown while IronBee recommends platforms](https://mintcdn.com/ironbee/SCVDNf59c_RrstXj/images/cli/platform-selection_analyze.png?fit=max\&auto=format\&n=SCVDNf59c_RrstXj\&q=85\&s=7defd27ec67923a881a9742c48d945a4)

You can change both anytime later (see [Verification](https://docs.ironbee.ai/cli/guides/verification.md)).

That's it. Your project is now connected to IronBee.

> [!NOTE]
>
> Restart your AI coding client after installing so it picks up the new setup.

***

## What's next?

Give your agent a task as you normally would. In assist mode, ask for a verification with `/ironbee-verify` when the change is ready. In enforce mode, IronBee has the agent verify the changes before the task can complete. Every session shows up in the [Console](https://console.ironbee.ai).

> [card] [How verification works](https://docs.ironbee.ai/cli/concepts/how-it-works.md)
>
> Understand the completion gate, cycles, and verdicts behind what you just set up.

> [card] [Managing projects](https://docs.ironbee.ai/cli/guides/managing-projects.md)
>
> Install, remove, update, and track IronBee across your projects.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.