---
title: Run Kip on a cloud server · Kip docs
description: Put Kip on a small Linux server with HTTPS, so it's always on and the team can reach it from anywhere. About 20 minutes.
url: https://www.quietrobot.ai/docs/kip/cloud-server
---

# Run Kip on a cloud server

Put Kip on a small Linux server with HTTPS, so it's always on and the team can reach it from anywhere. About 20 minutes.

Kip is made to run on a computer at the office. If you'd rather have it on a server, this sets it up on a small Linux server you rent from any cloud provider, at an address like `https://kip.yourbusiness.com`, with HTTPS, starting by itself when the server restarts.

> [!WARNING]
> Putting Kip on the internet means anyone can reach its sign-in page. Kip slows down password guessing, but pick a long office password and keep the server's software up to date.

## What you need

* **A Linux server.** Ubuntu 24.04 with 2 GB of memory is plenty.
* **A domain name** you can add a DNS record to.
* **A Claude API key** from [console.anthropic.com](https://console.anthropic.com).

## 1. Point your domain at the server

Add an **A record** for `kip` (or any name) pointing to the server's public IP address.

## 2. Make a user for Kip and install it

```bash
apt update && apt upgrade -y
adduser --disabled-password --gecos "" kip
su - kip
curl -fsSL https://raw.githubusercontent.com/Quiet-Robot/kip/main/install.sh | KIP_NO_START=1 sh
~/.kip/bin/kip setup
exit
```

Settings and documents live in `/home/kip/Kip`. Copy documents into `/home/kip/Kip/documents` with `scp` or an SFTP app.

## 3. Keep Kip running

Create `/etc/systemd/system/kip.service`:

```ini
[Unit]
Description=Kip
After=network-online.target
Wants=network-online.target

[Service]
User=kip
WorkingDirectory=/home/kip/Kip
Environment=KIP_OPEN_BROWSER=0
Environment=HOST=127.0.0.1
Environment=KIP_HTTPS=1
ExecStart=/home/kip/.kip/bin/kip start
Restart=on-failure
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/home/kip/Kip /home/kip/.kip
PrivateTmp=true

[Install]
WantedBy=multi-user.target
```

```bash
systemctl daemon-reload
systemctl enable --now kip
systemctl status kip
```

`HOST=127.0.0.1` keeps Kip off the open internet; only the web server talks to it. `KIP_HTTPS=1` makes the sign-in cookie HTTPS-only.

## 4. Add HTTPS with Caddy

```bash
apt install -y caddy
```

Replace `/etc/caddy/Caddyfile` with:

```text
kip.yourbusiness.com {
	reverse_proxy 127.0.0.1:8484
}
```

```bash
systemctl reload caddy
```

## 5. Close everything else

```bash
ufw allow OpenSSH
ufw allow 80,443/tcp
ufw enable
```

Allow the same ports in your provider's firewall too.

## Everyday care

| To | Run |
|---|---|
| See if Kip is running | `systemctl status kip` |
| Read Kip's messages | `journalctl -u kip -n 100` |
| Restart after changing settings or documents | `systemctl restart kip` |
| Update Kip | `su - kip -c "~/.kip/bin/kip update"` then `systemctl restart kip` |
| Back up | `tar -czf kip-backup-$(date +%F).tar.gz -C /home/kip Kip` |

Back up `/home/kip/Kip`: it holds your settings, documents and Kip's database, including the activity log. Keep backups private; they contain your `.env`.

The full guide, with troubleshooting, is [docs/CLOUD.md](https://github.com/Quiet-Robot/kip/blob/main/docs/CLOUD.md) in the repository.
