27 November 2026

From one command to your first phone approval: a self-hosted Notakey setup

Install the Notakey appliance on Proxmox or Ubuntu, get a free 10-user licence, enrol a phone and approve the first sign-in. What each step takes.

This is the on-premise version of From zero to your first phone approval, which does the same with a cloud instance. Here the Notakey Authentication Server runs on your own machine. You start with one command on a Proxmox VE host or an Ubuntu server, and you finish with your phone approving your own sign-in to the server’s dashboard.

We did every step below in our lab on 26 and 27 November 2026, as a new customer would: with the command from our downloads page, a public host name and a free licence from the signup portal. It took about 35 minutes. More than half of that was the download of the server images.

What you need

  • A machine. Either a Proxmox VE host, where the script creates a new container for the appliance, or a fresh Debian or Ubuntu server on x86-64. Our container had 2 CPU cores, 3 GB of memory and a 20 GB disk.
  • A public host name and HTTPS. The phone talks to the server directly, so the server needs a name that resolves on the internet and a certificate that the phone trusts. We used ntklab.test.notakey.com behind our own nginx with a Let’s Encrypt certificate. Have the DNS name ready before you start: the setup wizard asks for it.
  • A phone with Notakey Authenticator from the App Store or Google Play, and a screen lock (PIN, pattern or biometrics) set on it.
  • A payment card for the signup portal. The first 10 users cost nothing, but the checkout asks for a card anyway.

Step 1: Run the installer

On a Proxmox VE host, run this in the host’s shell:

bash -c "$(curl -fsSL https://www.notakey.com/install/proxmox-lxc.sh)"

It asks for the container settings, creates an unprivileged Debian container, installs Docker in it and starts the appliance installer inside. On a Debian or Ubuntu server, run the other command instead, as root:

sudo bash -c "$(curl -fsSL https://www.notakey.com/install/appliance.sh)"

Both scripts ask before they change anything. You can read them first at /install/proxmox-lxc.sh and /install/appliance.sh.

Creating the container took about a minute, because the Debian template was already on our host.

Step 2: Wait for the download

The installer then downloads the server images, about 1.25 GB. In our lab this took 19 minutes. The installer prints one line for each image and then stays quiet while that image downloads; the largest one alone took about six and a half minutes. It is not stuck. Let it run.

Step 3: Answer the setup wizard

When the download is done, the installer asks whether to run the configuration wizard. Answer y. It asks for:

Question What we answered
Node hostname ntklab (any name, unique in your cluster)
Cluster datacenter name / local domain the default, dc
Are you joining an existing cluster? n
Main FQDN for the API the public host name, ntklab.test.notakey.com
Internal cluster advertise IPv4 address the container’s own address
Use the built-in reverse proxy for TLS termination? n (see below)

The end of the installer in a terminal: the image downloads, then the wizard questions with our answers (node ntklab, default datacenter, no cluster join, the public host name, the container’s address, built-in reverse proxy off) and the two next steps, restart the VM and call ntk as start.

Check the advertise address. The wizard suggests a default that is not necessarily the address of your machine.

The reverse proxy question decides who handles HTTPS. Answer y if you want the appliance to handle HTTPS itself. According to the appliance manual, the wizard then offers to get the certificate from Let’s Encrypt and asks for an e-mail address for it; port 443 and, for the certificate check, port 80 must then reach the appliance from the internet. We answered n because our lab already has an nginx in front of every server, and that nginx holds the certificate and forwards the requests to the appliance on port 5000. We did not try the built-in proxy in this run.

The wizard ends with two next steps. The first, “Restart the VM to apply network settings”, did not apply to our container, because the network was already set up by Proxmox. The second is to start the server:

ntk as start

That took about a minute. Answering the questions took another minute.

Step 4: Point the name at the server

If the DNS name and the certificate are not in place yet, do it now. On our nginx, getting the certificate and adding the HTTPS site took about five minutes. When it works, opening https://<your host name>/ in a browser shows the server’s first-run wizard:

  1. Welcome
  2. Registration
  3. Create user
  4. Onboard user
  5. Setup complete

The Welcome page repeats the requirement from above: without a public name and a valid certificate, phones cannot enrol.

Step 5: Get the licence

The Registration step links to the Notakey signup portal, with your host name already filled in. There you choose the number of users (seats), enter your name, e-mail address and country, and continue to the Stripe checkout. With 10 seats or fewer, the checkout shows €0.00 per month, but it still asks for a card. After the checkout, the portal downloads the licence file, named after your host name (<host name>-license.p12).

The signup portal form: Service Type On-Premises Instance, the service host name already filled in, 10 licensed seats marked Free, then full name, email, country and an optional company, and the Continue to checkout button.

The Stripe checkout: Notakey Authentication Server On-Premises, quantity 10, €0.00 per month and €0.00 due today, with the card details form on the right.

The portal’s confirmation page: Subscription successfully created, the licence renews automatically with the subscription, seats can be changed with Manage billing in the dashboard, and a link in case the download does not start.

Back in the wizard, upload that file. The signup and the licence download took us about three minutes. The dashboard later showed the licence as “1 of 10” seats used, valid for three months and renewed automatically by the subscription.

The dashboard’s Licensing details: 1 of 10 seats used, valid until 2027-02-25, updated automatically in about two months, licensing model express (serial number blurred), next to the list of the last authentications.

If your company buys its licence from a reseller or from us instead, you get the licence file from them and upload it in the same step.

Step 6: Create the first administrator

The wizard asks for a user name, a password and a full name. This user can do everything on the server. You will type the same user name and password on the phone in the next step, so choose a password you can type on a phone keyboard.

Step 7: Enrol your phone

The wizard now shows a QR code and waits. In Notakey Authenticator, either scan the code, or add the service domain by hand in Settings → Service domains. If you type it, include https:// (for example https://ntklab.test.notakey.com). Without it, the app looks for DNS records that a new server does not have, and reports that the domain is invalid.

Under Services, tap Administration Service and sign in with the user name and password from step 6. The app asks for a screen lock on the phone if there is none. The Administration Service also wants its key kept in the phone’s secure hardware by default, so an Android emulator will not do for this first user.

The Administration Service sign-in page inside the app, with the administrator’s user name and password filled in and an Authenticate button.

The enrolment took two seconds on the server. As soon as the phone is enrolled, the wizard takes you to the dashboard.

Step 8: The first approval

Sign out of the dashboard and sign in again with the same user name and password. This time the dashboard waits, and the phone shows a request: “User … requests access to application Administration Service”. Tap Approve, and the dashboard opens. Ours was approved 13 seconds after the request was sent.

The dashboard after the password: a spinner and “Approve authentication request on the Notakey Authenticator”, with a Cancel button.

The request in the app’s inbox: Administration Service at the server’s address, “User labadmin requests access to application Administration Service”, the time left, and the Deny and Approve buttons.

From now on, every sign-in to your Notakey dashboard needs your phone.

How long it took

Step Time
Create the container and install Docker 1 min
Download the server images 19 min
Setup wizard and ntk as start 2 min
DNS name, certificate and HTTPS 5 min
Licence through the signup portal 3 min
First administrator, phone enrolment, first approval 3 min
Total about 35 min

Your download time depends on your connection. Your DNS and certificate time depends on how your network is set up: if you already have a reverse proxy with automatic certificates, it is five minutes; if you have to ask another team for a DNS record, plan for that first.

What to do next

The server now protects only its own dashboard. To put a phone approval in front of something else, create a service and a user for it, as in steps 2 to 6 of the cloud guide. The dashboard is the same on your own server. Then pick the guide for what you want to protect, for example VPN 2FA with RADIUS, MikroTik router logins or Linux SSH.

If you want to see what your users will see before you install anything, try the approval in your browser. It takes 30 seconds.

← All posts

Get started

Run it on your own server today

One command installs the appliance on a Debian or Ubuntu server, or in a new Proxmox container. The first 10 users are free.

sudo bash -c "$(curl -fsSL https://www.notakey.com/install/appliance.sh)"

You also need a public host name with HTTPS. Allow about 35 minutes. The setup, step by step →

Nothing to install: a cloud instance, first 6 users free.

Start free in the cloud

Prefer a walkthrough with an engineer? Request a demo →