Install
This takes about 15 minutes, most of it downloading. You need a server that meets the requirements, with your domain's DNS pointing at it.
Claude Code, GitHub Copilot CLI or OpenAI Codex can do step 1 for you with one command: Install with an AI agent.
Step 1: Run the installer
- Log in to the server (as a user that can run Docker).
- Go to the folder where you want NuRoute, for example your home folder.
- Run this command with your own domain in place of
nuroute.acme.com:
curl -fsSL https://raw.githubusercontent.com/NuRoute-ai/nuroute-selfhosted/main/get.sh | bash -s -- --domain nuroute.acme.com
This downloads the latest NuRoute install kit into a new folder called nuroute, and runs its installer. The installer:
- checks Docker, the tools it needs and the server's size;
- creates the settings file
.envand makes its secrets (database password, encryption keys); - downloads NuRoute's images (several GB the first time) and starts everything;
- waits until NuRoute answers.
What you should see:
Downloading the NuRoute 1.0.0 install kit into ./nuroute …
NuRoute installer
✓ Docker and Docker Compose
✓ Server size: 8 CPUs, 31 GB memory, 212 GB free disk
✓ Created .env
✓ Generated 4 secret(s) in .env (back this file up; it is needed to restore)
✓ Domain: nuroute.acme.com
Downloading NuRoute 1.0.0 (several GB the first time)…
Starting…
Waiting for NuRoute to be ready........ ready.
NuRoute is running.
Next: open https://nuroute.acme.com/app/setup
- activate it with the licence key from your contract, or start a 14-day trial
- then create the first admin account
Saw something else, or an Error: line? Find the message in Troubleshooting.
The same thing, step by step:
git clone https://github.com/NuRoute-ai/nuroute-selfhosted.git nuroute
cd nuroute
./install.sh --domain nuroute.acme.com
.env nownuroute/.env holds the keys that scramble (encrypt) your provider API keys in the database. Without it, no backup can be restored. Copy it somewhere safe, outside the server: your password manager or a secrets vault.
Step 2: Activate NuRoute
Open https://nuroute.acme.com/app/setup in your browser (using your domain). The setup screen offers two ways.
Way 1: with a licence key. It comes in your NuRoute contract email and starts with nrl_.
- Choose I have a licence key.
- Paste it.
- Select Activate.
A key works on one install.
Way 2: with a trial.
- Choose No key yet? Start a 14-day trial.
- Enter your work email and your company.
- Select Email me a code.
- Enter the 6-digit code from the email (it is valid for 30 minutes).
- Select Start trial.
No email? Check the spam folder, or use Send a new code.
When it worked, the screen says This install is ready, with your licence or trial and its end date. If it shows an error instead, see Setup screen errors.
Step 3: Create the first admin
Select Create the admin account and sign up with your name, work email and a password. The password needs at least 8 characters, with an uppercase letter, a number and a special character.
This account owns the install's organization. After it exists, nobody else can sign up on their own. Everyone else joins by invitation (step 5). You are now signed in to the dashboard at https://nuroute.acme.com/app.
Step 4: Connect a provider and send your first request
- In the dashboard, open Model Catalog and connect at least one AI provider with your own API key (for example OpenAI). NuRoute scrambles (encrypts) the key before it is stored and never shows it again.
- Open API Keys and create a key. Copy it now: it is shown only once.
- Send a request from any computer that can reach your install:
curl https://nuroute.acme.com/v1/chat/completions \
-H "Authorization: Bearer $NUROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "auto", "messages": [{"role": "user", "content": "Say hello in five words."}]}'
You should get a JSON answer with "choices" in it. "model": "auto" lets NuRoute pick the model. Name a model instead (for example "gpt-4o-mini") to choose it yourself.
Any OpenAI SDK works if you set its base URL to https://nuroute.acme.com/v1. See the Quickstart and the SDK guides.
Right after activation, NuRoute downloads its routing model and model catalogue with the licence check-in. Until then (normally under a minute), automatic routing uses a simple rule based on the length of the request.
Step 5: Invite your team
- Open Members.
- Under Invite a member, enter a colleague's email address and their role (Admin, Member or Viewer).
- NuRoute shows an invitation link. Send it to them yourself, by chat or email.
To have NuRoute email invitations and password resets by itself, connect your mail server under Settings → Email (SMTP). See Email.
What next
- Connect your identity provider for single sign-on.
- Read Backups and upgrades and schedule
./backup.sh. - Check the Licence and updates page so you know what the banners mean.
- Bookmark Troubleshooting.