Getting started
Enterprise installation
Install the enterprise package on a Linux server with Docker, or on Kubernetes and OpenShift with Helm. This page is for IT teams; to install on a single computer, see Installation.
Installation paths
| Path | When to use |
|---|---|
| Docker, single Linux server | Pilots and small installations. The package brings its own PostgreSQL |
| Helm: Kubernetes / OpenShift | Multiple replicas and high availability. Your organization's PostgreSQL server is used |
Docker on a Linux server
Installation takes about 15 minutes. Run the commands in a terminal connected to the server over SSH.
- Check the server's machine ID The enterprise license is tied to it. It comes with the installation on Ubuntu, RHEL and Debian; if the file is missing, the command creates it.
cat /etc/machine-id || sudo systemd-machine-id-setup - Install Docker Skip this step if Docker is installed. After the second command, sign out and connect again.
curl -fsSL https://get.docker.com | sudo sh sudo usermod -aG docker $USER - Create the installation folder BaseLLM is installed in
/opt/basellm. The command takes you to/opt; the install command finds thebasellmfolder there.sudo mkdir -p /opt/basellm && sudo chown $USER /opt/basellm && cd /opt - Run the install command On your own computer, open the portal's İndirmeler (Downloads) page and copy the command. For an enterprise account the page shows only the Linux server command. Paste it into the server's terminal. The command downloads the package to
/opt/basellm, unpacks it and runs the Install file. - Enter the server's address The Install file asks which address other computers will use to reach BaseLLM. If the suggested IP address is right, press Enter; to use a domain name, type it.
- Open the Yönetim paneli (Management panel) address from the Install window in your own computer's browser and complete the setup wizard The wizard's steps are on the Installation page. To use your organization's PostgreSQL server, click I'll use our own PostgreSQL server on the database step.
If the server can't reach the internet, download the package on your own computer with Paketi indir (Download package), copy it to the server, then unpack it there and run the Install file. Replace user@server with the user name you connect with and the server's address.
scp basellm-enterprise-*.tar.gz user@server:/opt/basellm/
cd /opt/basellm && tar -xzf basellm-enterprise-*.tar.gz --strip-components=1 && rm basellm-enterprise-*.tar.gz && ./kur.sh
Update
Copy the new version's install command from the Downloads page and run it in /opt again; the new version is unpacked into the same /opt/basellm folder and the settings and encryption key stay in place. The Install file first backs up the database to the yedekler (backups) folder, then starts the new version. BaseLLM is unavailable for about a minute during the update.
HTTPS access
If BaseLLM will be published over HTTPS behind your organization's reverse proxy, write both addresses to the settings file in the installation folder:
- Open the settings file.
cd /opt/basellm && nano .env - Add or change these two lines with your addresses and save the file In nano: Ctrl + O, Enter, Ctrl + X.
CORS_ORIGIN=https://basellm.company.local FFM_API_URL=https://basellm-api.company.local - Run the Install file again The installation and data don't change; BaseLLM starts with the new addresses.
./kur.sh
On the reverse proxy, route the UI address to the server's Yönetim paneli (Management panel) port and the API address to the API adresi (API address) port.
Kubernetes and OpenShift
Kubernetes and OpenShift are installed with the Install file too. It detects the cluster and OpenShift, asks for the addresses, creates the encryption key and adds it as a Secret, writes the values file and installs the Helm chart. The chart and images are in BaseLLM's Docker registry (ghcr.io/baseinteractive); if the cluster is offline, go to Offline Kubernetes cluster.
Requirements
| Requirement | Details |
|---|---|
| Cluster | Kubernetes 1.25 or later, OpenShift 4.12 or later |
| Computer | Linux or macOS with kubectl and Helm 3.8 or later installed, and kubectl connected to the cluster |
| Database | PostgreSQL 14 or later. Not included in the package |
| Addresses | Two domain names for the UI and API, e.g. basellm.company.local and basellm-api.company.local. DNS records must point to the cluster's Ingress or the OpenShift router |
| HTTPS | On Kubernetes, certificate files (.crt and .key) covering both domain names. Not needed if the Ingress has a default certificate, or on OpenShift |
| Permissions | The installing account can create namespaces and ClusterRoles |
| Network | Access from the cluster to ghcr.io and pkg-containers.githubusercontent.com. Docker Hub (registry-1.docker.io) for the Redis image |
Installation

- Have the database prepared Ask your database administrator for an empty database for BaseLLM on your organization's PostgreSQL server and a user allowed to create databases (
CREATEDB). The setup wizard creates the second database for the activity log. - On the portal's İndirmeler (Downloads) page, open BT ekipleri için (For IT teams) and copy the Kubernetes command with Kopyala (Copy).
- Paste the command into a terminal where
kubectlis connected to the cluster and press Enter The Install file shows which cluster it will install to and asks you to confirm. - Answer the questions Type the UI address; if the suggested API address is right, press Enter. On Kubernetes, type the paths of the certificate files; leave them empty if the Ingress has a default certificate.
- Open the Yönetim paneli (Management panel) address from the Install window in a browser and complete the setup wizard The wizard asks for the license, the database from step 1 and the first admin account.
- When the wizard is done, run the Install file again The wizard's settings move into a Secret and BaseLLM scales out to multiple replicas. Until then, one replica runs.
cd basellm && ./kur-kubernetes.sh
On first installation, the Install window shows these lines:
Kubernetes kontrol ediliyor
Küme: company-prod, namespace: basellm
Kurulacak sürüm: 1.0.8
BaseLLM bu kümeye kurulsun mu? [E/h]
Ayarlar hazırlanıyor
Namespace hazırlanıyor
Şifreleme anahtarı üretiliyor
BaseLLM kuruluyor (birkaç dakika sürebilir)
BaseLLM hazır
Yönetim paneli: https://basellm.company.local
API adresi: https://basellm-api.company.local
The Install file writes the encryption key to keys/ffm_config_key.pem in the installation folder. Back this file up somewhere safe; without it the saved settings can't be opened. The settings are in basellm-values.yaml in the same folder.
The chart installs the backend (API) and UI, an Ingress or OpenShift Route, Redis (shared limit counter across replicas), a 1 GB persistent volume for the wizard, a one-time database migration job and a service account that reads the cluster's identity. To change a setting, add it to basellm-values.yaml and run the Install file again; for example redis: {enabled: false} to use your organization's Redis. Every setting is in the chart's values.yaml:
helm show values helm/finco-flow-*.tgz
Update
- Back up the databases Back up both databases on your organization's PostgreSQL server: the main database and the activity log database (default name
flow_audit_db). The Install file reminds you before updating. - Copy the new version's Kubernetes command from the Downloads page and run it in the same terminal The settings are read from the installation in the cluster; no questions are asked.
During the update, the old version doesn't shut down until the new one is ready. On a test cluster, none of the 649 requests sent during an upgrade failed.
Offline Kubernetes cluster
If the cluster can't reach external registries, the images are pulled from your organization's registry. The Install file pushes the package's images there. Do these steps on a Linux computer that has Docker and can reach your registry and the cluster.
- Download the enterprise package from the portal's İndirmeler (Downloads) page with Paketi indir (Download package) and copy it to this computer.
- Sign in to your registry with
docker login. - Unpack the package and run the Install file Run the command in the folder that contains the package.
tar -xzf basellm-enterprise-*.tar.gz && cd basellm-enterprise-*/ && ./kur-kubernetes.sh - Answer the questions Besides the addresses, it asks for the registry to pull images from (e.g.
registry.company.local/basellm) and offers to push the package's images there. - Complete the setup wizard and run the Install file again As in steps 5 and 6 of the installation above.
To update, download the new package, back up the databases, then unpack the new package and run the Install file as in step 3.
License
The license is signed in the portal and is valid for one installation only. The application checks the signature on every start; copied, modified or expired licenses are rejected.
What the license is tied to
The enterprise license is tied to an identity that doesn't move with the database. Even if the database is copied to another server, the license doesn't work there.
| Installation | License is tied to |
|---|---|
| Docker | The server's machine ID (/etc/machine-id) |
| Kubernetes / OpenShift | The cluster's identity (the kube-system namespace). Scaling replicas or adding and removing nodes doesn't affect it |
To read the cluster's identity, the chart creates a ServiceAccount and ClusterRole that can only read the kube-system namespace. If your organization prefers to grant this with its own account, add rbac: {create: false} and backend: {serviceAccountName: <account>} to basellm-values.yaml and run the Install file again; the account needs get permission on the kube-system namespace. Without it, the backend doesn't start and logs the reason.
Moving the license to another installation
When you move to another server or cluster, or reinstall, the new installation's fingerprint changes.
- Trial license: On the portal's Lisanslar (Licenses) page, click Kurulumu taşı (Move installation) and paste the new installation's fingerprint. The end date doesn't change. The number of moves is limited; the remaining moves are shown on the page.
- Paid license: Contact our sales team with the new installation's fingerprint.
Encrypted configuration
Connection details entered in the setup wizard are encrypted with an RSA key and written to disk. Secret values sit on disk with the enc:v1: prefix and are decrypted only at startup, in memory. Once the wizard finishes, it can't be run again.
- Docker: The Install file creates the key (
keys/ffm_config_key.pem). To use your organization's own RSA key, put it in thekeysfolder under that name before running the Install file. - Kubernetes / OpenShift: The Install file creates the key (
keys/ffm_config_key.pem) and adds it as theffm-config-keySecret. To use your organization's own key, put it in thekeysfolder under that name before running the Install file. - The
config_clitool provides theinit,encrypt-env,encrypt-value,rewrapandverifycommands.
Redis, LDAP and other settings are set on the panel's Settings screen after setup.
Sizing and high availability
The values below are starting recommendations; a load test in your environment sets the actual capacity. In practice, the provider's rate and quota limits usually set your capacity first.
| Component | Starting recommendation |
|---|---|
| BaseLLM | At least 2 replicas, each 1 core + 1 GB |
| Replica capacity | ~400 non-streaming or ~100–150 streaming requests per second |
| PostgreSQL | ~0.1 core per 100 requests per second; fast disk |
| Redis | Required with multiple replicas; negligible load |
| Load balancer | Failover to another replica on errors and 503 enabled |
- If one backend goes down, the other replicas handle the requests.
- At least one replica stays up during node maintenance.
- OpenShift-compliant: runs without root, with an arbitrary user ID and on a read-only file system.
- Backups need just three things: the two databases, the encryption key and the encrypted settings file.
Frequently asked questions
Does BaseLLM run on our own servers?
Yes. BaseLLM is installed entirely in your own infrastructure: Docker on a single Linux server, or Helm on Kubernetes and OpenShift. The databases are your own PostgreSQL servers; the Docker package also brings its own PostgreSQL.
Does it work with OpenShift security constraints (SCC)?
Yes. It runs without root, with an arbitrary user ID and on a read-only file system. The Install file detects OpenShift and uses an OpenShift Route instead of an Ingress.
Can I try the enterprise package on Windows or macOS?
No. The enterprise license is tied to a Linux server's machine ID, so the package doesn't start on Windows or macOS. Use a Linux virtual machine to try it.
Is there downtime during upgrades?
On Kubernetes and OpenShift, the old version doesn't stop until the new one is ready. In a Docker installation, BaseLLM is unavailable for about a minute during the update.
What next?
See Get your first trial license for a trial license and Move from LiteLLM if you are moving from LiteLLM.