Quick Start
Portainer-Run can be installed on a fresh server along with Portainer Business using the terminal installer. The following command will download the install script and run it on your server.
curl -sfL https://get.portainer.run/get.sh | sudo sh -Follow the steps in the installer to complete the setup. You will be asked to make some decisions along the way - we'll outline those below.
Install target
The installer first asks where to install:
Appliance mode: installs KubeSolo, Portainer Business and Portainer-Run on this server. This is the path described in the rest of this guide. The installer will refuse to continue if the server is already part of a Kubernetes cluster.
BYO mode: installs onto an existing Kubernetes cluster that you supply a kubeconfig for. The cluster needs an ingress controller and a default StorageClass, and must not already have Portainer installed.
Domain
You will first be asked for the domain you want to use for applications deployed in Portainer-Run. Deployed applications will be given a subdomain of this domain - for example, if your application was called myapp and your domain was apps.mycompany.com your application's full URL would be myapp.apps.mycompany.com.
The installer will check to see whether the domain you provide and the wildcard subdomain of that domain are resolvable. If they are not able to be resolved, you can perform a re-check at this stage once you have configured them, or you also have the option to proceed anyway.
Certificate
Next you can choose the SSL certificate to use for your applications. The options are:
Self-signed: Portainer-Run will generate a self-signed certificate for your applications. By default, browsers will display a warning when visiting sites with self-signed certificates.
Let's Encrypt via DNS-01: Portainer-Run will use Let's Encrypt to generate trusted certificates automatically for your applications. Your DNS records must be with Cloudflare for this option to work, and you must have a Cloudflare API token. The installer checks the token against the zone for your domain before continuing.
Custom certificate: Portainer-Run will use a custom wildcard certificate you provide for your applications. You will need to supply your own certificate and key.
Ingress controller
An ingress controller is required to route requests to your applications. It handles HTTPS traffic only. Here you can choose which to install.
Traefik: The default option, and works out of the box. Traefik doesn’t require users to sign in, so anyone who can reach an application’s URL can open it, use it, and see any data it displays.
Pomerium: Requires users to sign in before they can access your applications. You'll need an OIDC identity provider (such as Entra ID, Okta or Google). Create an OIDC application there and register the callback URL the installer shows you. Then enter your provider's issuer URL, client ID and client secret. If your identity provider uses a private certificate authority, you can paste the CA certificate as well.
Installing
The installation process will now begin. Progress across the installation steps will be shown as they happen, and you can expand or collapse items in the list to see detail on each step.
Once the installation completes you'll be provided with the URL for Portainer-Run as well as an admin username and password. The password is hidden by default: press p to reveal it once the install has finished. It is also saved to /var/lib/portainer-run-installer/credentials.txt on the server, so make sure you copy it and store it somewhere safe.
Access Portainer-Run
Now that the install is complete you can access Portainer-Run from the URL provided. On initial access after install you will be asked to provide your Portainer Business license key (if you didn't supply it during the installation) and asked whether to enable Edge Compute.
Once this is complete you will be in the Portainer Business interface. From here you can access Portainer-Run by clicking the switcher icon
in the top left. This will show a dropdown list of the different products available to you, including Portainer-Run.

Click on the Portainer-Run option to access the Portainer-Run UI.
Complete the initial setup
One last step before we're ready to go - when you first access Portainer-Run as an administrator you'll be asked to set an encryption key. This key encrypts the saved credentials used by Portainer-Run. You can click Generate to generate a key for you, or enter one manually.

Once you have a key entered, click Create key and finish setup.
What's next
Requirements: if you skipped ahead, check you have everything in place.
Initial configuration: to get Portainer and Portainer-Run configured for optimal usage.
Using Portainer-Run: a full tour of the interface once you're up and running.
Last updated
Was this helpful?
