← Full Documentation

Quick Setup Guide

CodeDoc AI for Confluence — Get connected in 5 minutes

Before you start: You need two things: (1) an API key from your AI provider and (2) a personal access token from your Git hosting service. Both are free to create and take about 2 minutes each. The setup wizard in the app walks you through each step.

Step 1: Connect Your AI Provider

Select the AI service you want to use. CodeDoc AI supports Anthropic Claude, OpenAI GPT, and Google Gemini. Your API key stays in your provider account — CodeDoc AI never stores your source code.

Anthropic — Claude Models

  1. Go to platform.claude.com/settings/keys
  2. Click Create Key, give it a name (e.g. “CodeDoc AI”), and copy the key.
  3. In the CodeDoc AI setup wizard, select Anthropic as your AI provider.
  4. Paste the key into the API Key field and click Connect & Validate.
  5. Select your preferred Claude model from the dropdown that appears.
Cost tip: Claude Haiku is the most affordable model and fast enough for most documentation jobs. Typical cost: $0.01–0.05 per generation for a medium-sized repository.
Billing required: Anthropic requires a credit card on file even for low usage. Add a payment method at platform.claude.com/settings/billing before generating your key.

Step 2: Connect Your Git Provider

Select your Git hosting service. CodeDoc AI only needs read access to your repositories — no write permissions are required.

GitHub — Personal Access Token

  1. Go to github.com/settings/tokens/new (classic token).
  2. Give it a name (e.g. “CodeDoc AI”), set an expiration date, and tick the repo scope.
  3. Click Generate token and copy the value — it starts with ghp_ and is shown only once.
  4. In CodeDoc AI, paste the token into the Personal Access Token field and click Connect & Validate.
  5. You should see your GitHub username confirmed.
Fine-grained tokens: You can also use a fine-grained personal access token for better security. Select the specific repositories you want to grant access to and enable Contents: Read permission.

Access Control (Optional)

By default, only Confluence Administrators can access CodeDoc AI. To grant access to other users, go to the Permissions tab and assign Confluence groups to one of two roles:

Add the groups that should have access — then manage their members in the Confluence Admin UI (→ Confluence Settings → Groups). No changes to the app are needed when users join or leave a group.

Tip: Create a dedicated group like codedoc-ai-operators in Confluence and add it to the Job Operator role. Your Confluence admin can then manage access without touching the app.

What’s Next

Once both providers are connected, the wizard closes and you land on the Dashboard. From there:

  1. Go to the Repositories tab and add the repos you want to document.
  2. Go to Jobs → Create Job — select your repos, choose a documentation template, and set a trigger.
  3. Click Run Now or wait for your trigger to fire (schedule, webhook, etc.).
  4. Your documentation appears as a Confluence page in the space you selected.
Tip: Google Gemini’s free tier is perfect for a first test run at zero cost. You can switch to Anthropic or OpenAI later in Settings → AI Provider.

Full Documentation  ·  Support  ·  Privacy Policy  ·  © 2026 Janek Behrens