Denegra Derbent

Install Denegra Derbent

Derbent runs inside your company: on one Linux server with Docker, or on OpenShift and Kubernetes with Helm. Prepare the five items below before the install day; the install itself then takes about two hours, most of it the TLS certificate and one Entra app registration.

On this page: What to prepare · Two ways to install · The trial · After the install · Help

What to prepare

Each item can take days in a company (a certificate request, a firewall change, an app registration), so start them before the install day.

1. A server

For a trial and up to 250 users: one 64-bit Linux server with 4 CPU cores, 8 GB of memory and 80 GB of disk (16 GB with the knowledge base). Ubuntu 22.04/24.04, RHEL 9 or Debian 12, Docker Engine 24 or later with the Compose plugin. No GPU. Up to 1,000 users: 8 cores and 16 GB.

Or an OpenShift 4.16+ or Kubernetes cluster with room for the same.

Network: outbound 443 to denegra.azurecr.io (images, about 8 GB once), to your model provider and to login.microsoftonline.com; inbound 443 from users and 8444 from admins only.

2. A DNS name and a TLS certificate

One name users reach, for example ai.company.com, pointing at the server, and a certificate for it from your CA or a public one, as PEM files: server.crt with the chain, and server.key. Derbent never makes a certificate itself.

3. A model provider key

OpenAI, Azure OpenAI, Anthropic or an in-country provider that speaks the OpenAI API, and the model names you want to offer. The key goes into one file on the server; requests go only to the providers you declare.

4. Where the audit events go

Every request writes an audit event (CEF). With a SIEM: its syslog address (UDP, TCP or TLS, port 514). Without one: Derbent writes a sealed local audit file on the server, and you can connect a SIEM later.

5. Entra app registrations

Someone who may create app registrations in Microsoft Entra ID:

  • App 1, the admin page (needed): sign-in to rules, departments and keys, documents and reports. Web app with a client secret and a policy-admin app role.
  • App 2, the browser extension (optional): names each user by Entra. Web app with ID tokens and no secret.

The steps for both are on one page in the install kit (entra-app-registrations.md). Google Workspace, Okta, SAML and LDAP/AD work for the admin page too.

Two ways to install

Both use the same released image, named by digest in your install steps. You need no source code, no build tools and no Denegra account.

Docker on one Linux server

For most companies without Kubernetes. The trial e-mail brings install-docker.md (Turkish: kurulum.md) and registry-auth.txt, the registry login. The steps:

  • Log in to Denegra's registry with registry-auth.txt and take the install kit out of the image: the compose file, a settings template, a models example, the full guide in English and Turkish, the browser extension's policy files and the Entra page.
  • Fill in .env (gateway ID, host name, Entra IDs) and environments.prod.toml (your provider and models).
  • Run prepare.sh, put the certificate and the provider key in their folders, start with docker compose up -d and make the first keys.

OpenShift and Kubernetes with Helm

The image and the Helm chart are Red Hat certified for OpenShift. The trial e-mail brings install.md, the pull Secret and the licence Secret; the chart installs from the OpenShift console (Helm, "Denegra Derbent AI Gateway") or with helm install, and install.md pins the image of the current release.

The chart's values hold your models (gateway.modelsToml), the audit target and the admin page (admin.enabled).

The trial

14 days, free. Request it with your company e-mail. For Gateway ID choose a short name (lower case letters, digits and -, for example acme): you write the same value as CUSTOMER_ID when you install. The e-mail brings the licence, a pull credential for our private registry and the install steps for both ways.

After the install

Applications and chat

Point applications and coding tools at https://<your host>/v1 with a key per tool or person, made on the admin page.

Browser extension

Denegra Derbent AI Guard masks what people type into ChatGPT, Gemini, Copilot and other AI sites. Ready files in the kit's extension-policy folder force it on in Microsoft Edge with its settings: edge.reg for Group Policy, intune-edge.ps1 for Intune. Fill in your host and the department's browser key. Chrome follows once its store listing is approved.

Help

Install help for Derbent: support@denegra.ai, answered within one working day. Write your gateway ID and what you see. Rather have us walk you through it? Ask for a pilot.