---
title: Configuration · Kip docs
description: Every setting in kip.config.json and .env.
url: https://www.quietrobot.ai/docs/kip/configuration
---

# Configuration

Every setting in kip.config.json and .env.

Kip reads two files from its folder: `kip.config.json` for settings and `.env` for secrets. Secrets never go in the config file. Restart Kip after changing either. [kip.config.example.json](https://github.com/Quiet-Robot/kip/blob/main/kip.config.example.json) shows every setting.

## kip.config.json

| Key | Default | |
|---|---|---|
| `business.name` | | Shown in the app and to the model. |
| `dataDir` | `./data` | Where the database lives. |
| `documents` | `./documents` | Folder to index for search. |
| `models.cloud` | | `{ model, deciderModel, effort, checkerEffort, baseURL }`. See [models](https://www.quietrobot.ai/docs/kip/models). |
| `models.local` | | `{ model, baseURL }`. Usually set from `.env` instead. |
| `policy` | | `alwaysAsk`, `blocked`, `autoAllow`, `backgroundMaySend`, `threshold`, `ownerRules`. See [Kip Check](https://www.quietrobot.ai/docs/kip/kip-check#in-kip-config-json). |
| `dataRules` | the defaults | Replaces the default [data rules](https://www.quietrobot.ai/docs/kip/data-rules). |
| `integrations` | `[]` | See [Integrations](https://www.quietrobot.ai/docs/kip/integrations). |
| `schedules` | `[]` | `{ job, everyMinutes, input }`. See [schedules](https://www.quietrobot.ai/docs/kip/jobs-and-plugins#schedules). |
| `webhooks` | `{}` | Job id to secret token. See [webhooks](https://www.quietrobot.ai/docs/kip/api#webhooks). |
| `plugins` | `[]` | Modules that add jobs and tools. See [plugins](https://www.quietrobot.ai/docs/kip/jobs-and-plugins#plugins). |

## .env

| Variable | |
|---|---|
| `KIP_PASSWORD` | The office password. Required, 8 characters or more. |
| `ANTHROPIC_API_KEY` | Claude API key. |
| `KIP_LOCAL_MODEL_URL`, `KIP_LOCAL_MODEL` | A local model server and model name. |
| `QR_API_KEY`, `QR_BASE_URL` | [Quiet Robot Sandboxes](https://www.quietrobot.ai/docs/sandboxes) for running code. |
| `KIP_API_TOKEN` | Turns on the [JSON API](https://www.quietrobot.ai/docs/kip/api). Any long random text. |
| `KIP_GATEWAY_SECRET` | Turns on [gateway sign-in](https://www.quietrobot.ai/docs/kip/gateway). 32+ random characters. |
| `KIP_SECRET` | Signs sign-in cookies. By default it is made from the office password, so changing the password signs everyone out. |
| `PORT` | Default `8484`. |
| `HOST` | Default `127.0.0.1` (this computer only). `0.0.0.0` lets your network reach it. |
| `KIP_HTTPS` | `1` when people reach Kip over HTTPS. Makes the sign-in cookie HTTPS-only. |
| `KIP_OPEN_BROWSER` | `0` stops Kip opening a browser when it starts. |
| `KIP_CONFIG` | Path to a different config file. |
| `KIP_ALLOW_UNSAFE_LOCAL_EXEC` | `1` runs code on this machine with no isolation. Developers only. |
