# Run Corey on a Hetzner VPS

Run Corey always-on by provisioning a Hetzner VPS, installing Claude Code and the Corey connector, loading secrets via Doppler, and keeping the process alive with a systemd service. Once running, schedule recurring tasks with cron so Corey works for your business around the clock.

## Steps
1. Provision a VPS on Hetzner: **TODO:** Create a Hetzner Cloud project, choose the recommended plan and region (see open questions below), and deploy a fresh server from the recommended OS image. Note the public IP address.
2. Install dependencies and Claude Code: **TODO:** Connect to the server over SSH, update the OS, and install Node.js, npm, and Claude Code (`npm install -g @anthropic-ai/claude-code`). Confirm with `claude --version`.
3. Install Doppler and load secrets: **TODO:** Install the Doppler CLI, authenticate with your Doppler token, and run `doppler setup` pointing at the correct project and config. Secrets are referenced by key name; values are never stored in files on the server.
4. Run Corey always-on with systemd: **TODO:** Write a systemd unit file that starts Corey under a dedicated user, sets the working directory to your Corey folder, and restarts on failure. Enable and start the service with `systemctl enable --now corey`.
5. Schedule recurring tasks with cron: **TODO:** Add cron entries (via `crontab -e` or a drop-in under `/etc/cron.d/`) to trigger Corey on the schedules you want. Confirm the mechanism and example schedule with the Corey team.

Corey does this for you. Put Corey to work, 28 days on us: https://getcorey.ai/pricing