Skip to content

Project Setup ​

Just want the happy path?

The Quick Start walks any project end-to-end in ~5 minutes. This page is the full reference — teams, roles, the CLI, and key management.

Two things need to happen, and on every stack ai-boost init does both:

  1. Register the repo on the server — once per repo. ai-boost init does it, or a teammate does it in the Portal, or you script it with ai-boost repo:add.
  2. Onboard each developer's machine — once per developer: the key, .mcp.json, the instructions, the hooks, the first index.

One command is the whole setup

sh
cd ~/projects/your-repo
ai-boost init

That is Step 1 and Step 2, on Laravel, Node, Go, Python or anything else. Re-running it is the normal case — a teammate joining — not a repair.

One tool

ai-boost, the global CLI, is the whole onboarding path. It registers the repo, issues your key, writes the editor configuration, installs the hooks and indexes, on every stack. It is also the only way to set up a folder holding several repositories.

Same person, small team?

On a solo or small project one ai-boost init covers both steps. There's no separate "admin"; just a project Owner (whoever created it) and Members (invited by an Owner; ai-boost init then joins them to the registered repo).

Step 1 — Register the repo: two equivalent ways ​

Pick one of these — they achieve the same thing:

Developer PortalCLI
Best forMost people — no install, works from any browserScripting, CI, or setting up several repos at once
RequiresJust a browser + Google sign-inThe CLI on your laptop, which needs nothing else installed: see installation
Wherehttps://aiboost.metadevs.de/portalYour terminal

How Onboarding Works End-to-End ​

Project setup (once per repo, Portal or CLI)     Developer (once per machine)
─────────────────────────────────────────────    ────────────────────────────
1. Create the project                            1. ai-boost init
2. Add the repository (GitLab URL)                  (in the folder you open Claude Code in)
                │                                            │
                │                                 ┌──────────▼──────────┐
                │                                 │ Google OAuth sign-in │
                │                                 └──────────┬──────────┘
                │                                            │
                │                                 ┌──────────▼──────────────────┐
                │                                 │ Server matches git remote    │
                └────────────────────────────────►│ to registered repo           │
                                                  │ Joins invited developers     │
                                                  └──────────┬──────────────────┘
                                                             │
                                                  ┌──────────▼──────────┐
                                                  │ Personal key →       │
                                                  │   .claude/           │
                                                  │   settings.local.json│
                                                  │ Shared key → .env    │
                                                  │ Hooks installed      │
                                                  └─────────────────────┘

You can join a repository only if you are invited to its project. The invitation is the one per-developer step.

For engineers: the join endpoint

The server's self-enrollment endpoint (POST /api/v1/repos/join) adds a developer as a project Member when their git remote matches a registered repository and they hold an open invitation to that project (an existing member is simply recognised).


The Portal is a web UI — no CLI install, no Docker required for this part. Anyone who has been invited can use it.

1. Sign in

Open aiboost.metadevs.de/portal and sign in with Google, using the account you were invited with. You'll land on the Dashboard, which lists any projects you already belong to.

2. Create a project

Click New project on the Dashboard, give it a name (e.g. acme.io) and choose its organisation from the list. The list shows the organisations where you already own a project; platform administrators see all of them. If it is empty, ask a project owner to add you, or a platform administrator. You become the project's Owner automatically.

3. Add the repository

Open the project you just created and click Add Repository. Fill in:

FieldRequiredNotes
Repository nameyesDisplay name, e.g. acme.io/api
StacknoDecides the default coding rules Claude Code receives. The dialog lists the recognised values; anything else gets generic rules
Git URLno, but see belowThe repo's git remote URL — this is what lets ai-boost init find the repo for a developer who has been invited; without it, it can't auto-discover the repo

Paste either the SSH address (git@gitlab.example.com:acme/api.git) or the HTTPS one. ai-boost treats them as the same, so it still matches a developer's git remote either way.

Any project member (not just the Owner) can add repositories from this page. Deleting a project or repository is Owner-only.

4. Invite the team, then they onboard themselves

Invite each developer from the project's Members tab; after that, ai-boost init joins them. See Step 2 below.

Inviting teammates

From the same project page you can add teammates by email, and remove them later. Someone who already has an account is added straight away; someone who doesn't gets a one-time invitation link to pass on (no email is sent). Membership is what lets ai-boost init join a teammate to the project's repositories: a matching git remote alone is not enough.

Full reference: see the dedicated Developer Portal and Admin Portal pages for everything else these UIs can do (analytics, API key management, platform settings).


Option B — The ai-boost CLI ​

Prefer scripting this, or setting up several repos in one sitting? Use the CLI instead of the Portal.

Install it ​

sh
curl -fsSL https://aiboost.metadevs.de/install.sh | sh

One file that needs nothing else installed, and no token. Windows and the full walkthrough: Install the CLI.

Step 1 — Authenticate ​

bash
ai-boost auth:login

A browser window opens → Google sign-in, and the terminal collects the credentials itself. They are stored at ~/.config/ai-boost/credentials.json. On a machine with no browser, add --no-browser and open the printed URL on any other device.

Shared credentials

Every command shares one credentials file. If you have already run ai-boost init in any project, you are already authenticated — skip this step.

Verify:

bash
ai-boost auth:status
# → Authenticated as you@megadevs.de

Step 2 — Create a Project ​

A project groups the repositories of one product, for example the API and the web app.

bash
ai-boost project:create "Acme" --client="Acme"
Argument / OptionDescription
nameProject display name
--clientThe organisation to file it under, by name (defaults to the project name if omitted)
--existing-clientFile the project under an organisation that already exists, after the command has told you which one. You need to own a project in that organisation, or be a platform administrator

The command prints the project slug — you need it in the next step — and the project's Organisation. All options: CLI reference.

List existing projects to find the slug later:

bash
ai-boost project:list

Step 3 — Register the Repository ​

bash
ai-boost repo:add \
  --project=acme-io \
  --name="acme.io/api" \
  --stack=laravel \
  --gitlab=https://gitlab.example.com/acme/api
OptionRequiredDescription
--project, -pyesProject slug from project:list
--nameyesRepository display name
--stacknoTechnology stack — php, laravel (or laravel-api), symfony, slim, vue, nuxt, react (or next), node. It selects the repository's default coding rules (what find_relevant_instructions returns); chunkers are chosen per file extension, not from this. Prompted for when omitted interactively, left unset in non-interactive mode
--gitlabnoGitLab repository URL — used by ai-boost init for auto-discovery; joining still needs an invitation. HTTPS or SSH (git@…) both work

The repository address (--gitlab) is how ai-boost finds the repository when a teammate runs init. Without it, init cannot find the repository for a developer. A matching address alone does not give access: the person must be invited, and anyone else gets the same "not registered, or not invited" answer. init sends the folder's own git remote when it registers a repository, and warns when there is none.

Set --stack when you know it

Say what the repository is built with, so you get the right coding rules. If you leave it out, you get general rules. The command prompts, or leaves it empty in scripts, and you can set it later in the Portal.


Step 2 — Onboard your machine (self-service) ​

Every developer onboards their own machine with one command, on any stack:

bash
ai-boost init

Run it in the folder you open Claude Code in. It signs you in, registers or joins the repository, issues your personal key, writes the editor configuration, installs the hooks and indexes the code. Nothing is added to the project's dependencies, and no background process is required — see Connect Claude Code to ai-boost for the files it writes.

Step 1 is not a prerequisite: init registers a repository it does not find, so a brand-new repository needs no separate bootstrap. A project init creates is filed under the shared default organisation, and init prints which one. To file it under your team's organisation, create the project in the Portal first. Step 1 exists for registering a repository for someone else, or from CI.

Still have the retired Laravel adapter?

On a repository that still has metadevs/ai-boost-laravel installed, ai-boost init converts it and tells you when composer remove is safe. See the retired adapter page.


Managing Keys ​

Keys are generated automatically during ai-boost init. You only need these commands for CI pipelines, service accounts, or manually revoked keys. The Developer Portal's API Keys page covers the same actions from the browser if you'd rather not use the CLI.

Generate a key manually ​

bash
ai-boost key:generate --repo=<id> --name="ci-indexer" --expires=365
OptionDescription
--repo, -rRepository ID (from repo:list)
--nameKey label (default: default)
--expiresExpiry in days, 1–365 (the server's limit; omit for no expiry)

The full ab_live_xxx key is shown once — store it immediately.

List keys ​

bash
ai-boost key:list --repo=<id>

Shows key prefix, name, last used date, expiry, and revocation status.

Revoke a key ​

bash
ai-boost key:revoke ab_live_xxxxxxxxxxxx --repo=<id> --yes

Revoked keys are immediately invalid.


Analytics ​

bash
ai-boost analytics --repo=<id>

Shows MCP call count, average session quality score, server-side embedding cost (USD), embedding token usage, and average latency per call. Model inference runs locally in Claude Code and is not part of these figures. The Admin Portal shows the same data (and more, across every client/project) as a dashboard for anyone with the admin or manager role, and the Developer Portal shows your own personal breakdown per repository.


Health Check ​

bash
ai-boost doctor

Checks the account (API reachable, credentials present, token still valid), then every directory here: is there a key, is ai-boost in .mcp.json with a key it can actually expand, has the editor been told to trust this folder, are the session hooks registered, can the shell that runs a hook find the binary they name, are the post-commit and post-merge re-indexes there, does the server still accept the key, and is the index behind HEAD. Each problem prints what to do about it; exit code is 0 when there are none. See the CLI reference.


Access Model Reference ​

WhoWhat they can doHow
Any invited userSign in, create projects (become Owner)An invitation from an admin, then Google OAuth — Portal or CLI
Any project MemberRegister new repositories under the project, generate/use their own API keys, use MCP toolsRegister: Portal or CLI (ai-boost repo:add), or ai-boost init, which registers what it finds. Onboard locally: ai-boost init.
Project OwnerEverything a Member can, plus invite/remove members, delete repositories, delete the projectPortal or CLI + API
Developer (no project yet)Create their own projectPortal New Project, or ai-boost project:create
admin roleEverything above, plus the Admin Portal (cross-client analytics and invitations) and the Portal's Settings page (roles, embedding models)An admin invitation carries the role, or an existing admin grants it in Settings
manager roleRead-only Admin Portal access, scoped to one organisation, never the shared default one. A manager with no organisation sees nothingA manager invitation carries the role and the organisation, or an existing admin grants it in Settings
Someone at a new companySigns in as soon as they are invitedAn invitation, and nothing else. Their domain is irrelevant — there is no domain to add