Prepare your host
Use Ubuntu Server locally or on a cloud VM. SafetyRouter ships with a node preparation script for Docker, Caddy, firewall rules, and hardened defaults.
sudo bash scripts/prep-node.shGET STARTED
Run it in your office, deploy it to your cloud, or ask us to operate it for you.
Use Ubuntu Server locally or on a cloud VM. SafetyRouter ships with a node preparation script for Docker, Caddy, firewall rules, and hardened defaults.
sudo bash scripts/prep-node.shCreate the environment file, add provider credentials, choose allowed models, and start the isolated services.
cp .env.example .env
$EDITOR .env
docker compose up -d --buildSign in to the tenant portal, create an API-key identity, give it useful project tags, and copy the key once.
OPENAI_BASE_URL=https://your-company.safetyrouter.io/v1
OPENAI_API_KEY=sr_live_...