> ## 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.

# How IronBee identifies your project

> How the CLI names the project your sessions and verification jobs report to, and when it reports to a GitHub, GitLab or Bitbucket project.

Every session the CLI records, and every [`ironbee verify`](https://docs.ironbee.ai/cli/guides/verification-jobs) job it starts, reports to a project in the [IronBee Console](https://console.ironbee.ai). You don't create that project by hand: the CLI works out its name from your repository.

***

## The project name

The CLI walks up from the directory you work in to the enclosing git repository, and takes the name from:

1. the repository name in the `origin` remote's URL
2. otherwise, the first remote's repository name
3. otherwise, the name of the repository's folder

A checkout without git uses the folder's name.

A **gitlab.com** project is named the way the console names it: the path after its group, with `/` as `-`. `acme/shop` is `shop`, and `acme/platform/backend` in a subgroup is `platform-backend`.

**Worktrees** report under the main repository's name, not the worktree folder's. Parallel agents that work in separate worktrees land in one project. A **submodule** is its own project, named from its own remote.

***

## Repository projects and CLI projects

A project in the console belongs to a provider: GitHub, GitLab, Bitbucket, Vercel, Netlify, or the CLI. The same name under two providers makes two projects.

When your checkout's remote is on **github.com**, and the derived name equals the repository's name, the CLI claims the repository's **GitHub project**. Your sessions and jobs then report to the same project as the [GitHub App](https://docs.ironbee.ai/integrations/github.md) and the [GitHub Action](https://docs.ironbee.ai/github-action/get-started/getting-started.md) runs for that repository. If that project doesn't exist yet, it's created.

The claim works with HTTPS and SSH remotes, including `ssh.github.com` (SSH over port 443) and `git+ssh://` or `ssh+git://` URLs.

When the remote is on **gitlab.com**, the CLI claims the project's **GitLab project** the same way. The derived name must equal the project's last path segment, or its name as above. The claim works with HTTPS and SSH remotes, including `altssh.gitlab.com` (SSH over port 443).

When the remote is on **bitbucket.org**, the CLI claims the repository's **Bitbucket project** the same way. The derived name must equal the repository's slug. The claim works with HTTPS and SSH remotes, including `altssh.bitbucket.org` (SSH over port 443).

For an `ironbee verify` job, the claim follows the repository the run is bound to: the remote your branch is pushed to. A job on a branch pushed to a fork, or to another host, reports to that repository's project when its name matches, and claims none otherwise.

In every other case, the CLI reports to a **CLI project** with the derived name:

* a remote on another host, a self-managed GitLab server or Bitbucket Data Center or Server included
* no remote
* a name that doesn't match the repository

A verification job started in GitHub Actions, GitLab CI or Bitbucket Pipelines goes by its trigger instead: it reports to the GitHub, GitLab or Bitbucket project with the derived name, created if it doesn't exist yet. In GitLab CI, that includes a job on a self-managed GitLab server. A job whose remote is on another host than the CI's is refused; see [Binding the run to your repository](https://docs.ironbee.ai/cli/guides/verification-jobs.md#binding-the-run-to-your-repository).

> [!NOTE]
>
> Before CLI 0.45, a github.com checkout reported to a CLI project with the repository's name. After upgrading, new sessions and jobs report to the repository's GitHub project instead. Earlier history stays in the CLI project.

> [!NOTE]
>
> Before CLI 0.49, a gitlab.com checkout reported to a CLI project, and a project in a subgroup was named by its last segment, such as `backend`. After upgrading, new sessions and jobs report to the GitLab project under its new name, such as `platform-backend`, and `${projectName}` in your config follows it. Earlier history stays where it was.

> [!NOTE]
>
> Before CLI 0.53, a bitbucket.org checkout reported to a CLI project with the repository's name. After upgrading, new sessions and jobs report to the repository's Bitbucket project. Earlier history stays in the CLI project.

When a job resolves to a GitHub, GitLab or Bitbucket project that has none of the variables or secrets a same-named CLI project holds, `ironbee verify` prints a notice so you can move them.

***

## Naming the project yourself

`--project <name>` on `ironbee verify run web` or `ironbee verify run api` names the project explicitly, and doesn't claim a repository's project. In GitHub Actions, GitLab CI or Bitbucket Pipelines, the job reports to the GitHub, GitLab or Bitbucket project with that name, which is created if it doesn't exist yet. On a checkout whose remote is on another host than the CI's, pass `--no-repo` too. Anywhere else, it reports to a CLI project with that name.

```bash theme={null}
ironbee verify run web --url https://preview.example.com --project shop-web
```

***

## What is sent

For a github.com checkout, every event the CLI sends carries the repository's `owner/repo`, so the console can file it under the GitHub project. For a gitlab.com checkout, it carries the project's full path, and for a bitbucket.org checkout, the repository's `workspace/repo_slug`. This includes the events of the devtools server. It happens whether or not [issue-tracker and VCS linking](https://docs.ironbee.ai/cli/guides/issue-tracking.md) is enabled. The only way to stop it is to suspend the [Collector](https://docs.ironbee.ai/cli/configuration/configuration.md#collector) with `collector.enable: false`, which stops sending anything at all. See [Privacy mode](https://docs.ironbee.ai/cli/advanced/privacy.md).

***

## Local bookkeeping

The CLI also keeps a local inventory of the projects where you installed IronBee. These entries aren't console projects:

* `~/.ironbee/projects.json` lists them.
* `~/.ironbee/projects/<token>/` holds each one's runtime data.

See [Managing projects](https://docs.ironbee.ai/cli/guides/managing-projects.md) and [Runtime files](https://docs.ironbee.ai/cli/advanced/runtime-files.md).


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