---
title: "kumiko installation: self-hosting step by step"
description: "Install kumiko on your own server with Docker Compose: requirements, .env values, first owner, licence key, HTTPS, local AI model and backups."
url: "https://kodokalabs.com/en/tools/kumiko-installation/"
language: en
published: 2026-11-26
updated: 2026-11-26
---

# kumiko installation: self-hosting step by step

By the end of this page, kumiko runs on your own server, you are signed in as the owner and your licence is activated. Plan about an hour. Everything else in the [kumiko guide](https://kodokalabs.com/en/tools/kumiko-guide/) starts from here.

## Before you start

You need four things.

- **A Linux server with Docker and Docker Compose.** The installer also needs `curl`, `tar` and `openssl`. Docker Compose on a Linux server is the documented setup.
- **Enough capacity.** Without the local AI model, 2 vCPU, 4 GB RAM and 20 GB disk are enough for about 50 clients. With the bundled local model, plan for 16 GB RAM or a GPU.
- **An address for kumiko**, for example `reports.your-agency.com`, pointing at the server.
- **SMTP access.** kumiko sends invitations, password resets and update notices by email.

You also need a key. Installing kumiko takes either the licence key from your purchase email (it is also in the customer portal) or a 30-day evaluation key. There is no public download. To get an evaluation key, [contact us](https://kodokalabs.com/en/contact-kodokalabs/).

## Install kumiko

### 1. Download the installer

Run this on the server:

```bash
curl -fsSL https://licence.kumiko.kodokalabs.com/install.sh -o install.sh
```

### 2. Run the installer

```bash
bash install.sh
```

The installer asks for two things: your licence or evaluation key, and the installation address, for example `https://reports.your-agency.com`. It then downloads kumiko, checks the checksums, fills in the `.env` file with new random secrets and starts kumiko in `/opt/kumiko`.

The installer sends only the key to the licence service. It does not activate the key. You do that in step 6.

### 3. Create the first owner

The owner can do everything in kumiko, including the admin area. Replace the placeholders with your own email address and a long password:

```bash
cd /opt/kumiko
docker compose exec web npm run admin:create -- --email <email> --password "<long password>"
```

### 4. Point the address at the server

You have two options.

- **Your own reverse proxy.** Forward your address to port 3000 on the server. This is the right choice if the server already runs other sites.
- **The bundled proxy.** It requests and renews HTTPS certificates for you. Ports 80 and 443 must be free.

```bash
docker compose --profile proxy up -d
```

The bundled proxy serves the address in `KUMIKO_DOMAIN`.

### 5. Sign in

Open your address in the browser and sign in with the owner you just created.

![kumiko sign-in page, which carries your own brand once you set it in the admin area](https://kodokalabs.com/assets/media/2026/11/kumiko/en/kumiko-en-01-login.webp)

### 6. Install the licence

Open **Admin**, then **Licence and updates**. Enter the same key and press **Install licence**. kumiko activates the key for this installation's address.

![Licence and updates in the kumiko admin area, with the licence key field and the update check](https://kodokalabs.com/assets/media/2026/11/kumiko/en/kumiko-en-24-admin-updates.webp)

One licence works for one address. If you need to move it later, see [manage your licence](https://kodokalabs.com/en/tools/kumiko-manage/).

Next, set your brand, review the legal texts and add the OAuth apps for the connectors. The [first steps page](https://kodokalabs.com/en/tools/kumiko-first-steps/) covers the brand and the texts, and the [connectors page](https://kodokalabs.com/en/tools/kumiko-connectors/) covers the OAuth apps.

## Check that it works

Open **Admin**, then **Overview**. You should see your licence, the version and the counts of clients, team members, connectors and reports.

![kumiko admin overview with the licence, client count, team size, connector count and the installed version](https://kodokalabs.com/assets/media/2026/11/kumiko/en/kumiko-en-19-admin.webp)

## The .env file

The installer writes the `.env` file in `/opt/kumiko`, with new random secrets. Most installations never need to edit it. These are the values you may want to change later, shown here with placeholder values:

| Value | What it does | Example |
|---|---|---|
| `PUBLIC_URL` | The address people use to reach kumiko | `https://reports.your-agency.com` |
| `KUMIKO_PORT` | The port the web app listens on | `3000` |
| `KUMIKO_DOMAIN` | The domain the bundled proxy requests certificates for | `reports.your-agency.com` |
| `KUMIKO_LOCAL_LLM_URL` | The address of the local AI model, if you use one | `http://ollama:11434` |

The SMTP settings also live in this file. kumiko uses them for invitations, password resets and update notices, so set them before you invite anyone.

**Important:** never change `KUMIKO_SECRET` after setup. kumiko uses it to encrypt the OAuth tokens and API keys of your connectors. Without the original value, kumiko cannot decrypt them, and you would have to reconnect every source.

## Optional: a local AI model

AI in kumiko is optional. If you want a model on your own server, start the local model profile:

```bash
docker compose --profile local-llm up -d
```

Pull a model once:

```bash
docker compose exec ollama ollama pull qwen3:8b
```

Then set this value in `.env`:

```
KUMIKO_LOCAL_LLM_URL=http://ollama:11434
```

Finally, add the model under **Admin**, then **AI models**. The [insights and AI page](https://kodokalabs.com/en/tools/kumiko-insights-and-ai/) explains how kumiko decides which model may see which client's data.

## Backups

Backups are your responsibility, because you run the server. kumiko ships a script for it:

```bash
./scripts/backup.sh
```

It writes a compressed database dump to `deploy/backups`. Run it daily from cron and copy the files off the server. Every update takes a backup first, but a backup on the same disk does not protect you from losing the disk.

## Where your data goes

Client data stays on your server. It goes to an AI provider only if you add one and the client's AI policy allows it.

Two kinds of data reach kōdōkalabs. The installer sends only your key to the licence service. After activation, the daily licence check and the update downloads send your licence key, the activation, the installation address and the version. The check for new versions sends only the installed version and the licence ID.

## FAQ

### Can I run kumiko on Windows?

The documented setup is Docker Compose on a Linux server. Other setups are not documented, so we cannot say whether they work.

### How many clients can one server handle?

2 vCPU, 4 GB RAM and 20 GB disk are enough for about 50 clients, without the local AI model. With the bundled local model, plan for 16 GB RAM or a GPU.

### Can I use my own reverse proxy instead of the bundled one?

Yes. Forward your address to port 3000 on the server. The bundled proxy is optional and only needed if you want it to handle HTTPS for you.

### What happens if the server is down during the daily sync?

The next sync catches up. Every sync re-reads the last 30 days, so data from the missed day is picked up, including conversions that arrive late.

### Why does the value of KUMIKO_SECRET matter so much?

kumiko uses it to decrypt the stored connector tokens and API keys. Keep a copy of the original value somewhere safe, and never change it.

Questions? Write to kumiko@kodokalabs.com.

Next: [first steps for admins](https://kodokalabs.com/en/tools/kumiko-first-steps/).
