Quickstart

Get Kontrua running on your first repository in under five minutes.

SaaS quickstart

  1. 1

    Create an account

    Sign up at /signup using GitHub OAuth or email and password.
  2. 2

    Connect your repository

    Install the Kontrua GitHub App on your organisation or personal account, or add a GitLab Personal Access Token. Kontrua syncs your accessible repositories automatically.
  3. 3

    Configure doc types

    Choose which docs Kontrua maintains (README, API reference, architecture, changelog), set output paths, and pick templates.
  4. 4

    Open a pull request

    Merge a PR into your watch branch. Kontrua will receive the webhook, analyse the diff, and open a documentation PR within minutes.

CLI quickstart

  1. 1

    Install the CLI

    Run npm install -g kontrua to install globally.
  2. 2

    Initialize your repo

    Run cd your-repo && kontrua init to scaffold a .kontrua.yml config and install git hooks.
  3. 3

    Set your API key

    Export your Anthropic key: export ANTHROPIC_API_KEY=sk-ant-...
  4. 4

    Generate docs

    Run kontrua update to read recent git changes and update your documentation.

Ready to stop writing docs by hand?

Connect your first repository and Kontrua will handle the rest.