Installation
Guides for installation engineers who deploy the AI Gateway on-premises package on a customer Linux host.
This section is for installation engineers who deploy AI Gateway from the on-premises package. Follow the guides in order for a first installation, and use the remaining pages when the customer environment differs from the default single-host Compose deployment.
Initial setup
Section titled “Initial setup”- Getting Started — Download the package, check
VERSION, run./install.sh install, and verify the directory layout and service state. - Secrets and .env — What the installer generates, how to back up
.env, and how to handle the field-encryption key. - IdP integration — Before bootstrap, register AI Gateway with the identity provider you use.
- Google Workspace integration — Create the OAuth client and set the consent screen to Internal.
- Okta integration — Create the OIDC application and assign users to it.
- Keycloak integration — Create the client and grant its client role to users.
- Bootstrap — Complete the license, provider, and first-administrator screens.
Environment-specific setup
Section titled “Environment-specific setup”- Load Balancer — TLS termination, ALB listener and health-check settings, client IP handling, and the header policy.
- External PostgreSQL and Redis — Move storage to customer-managed servers, including connection strings,
COMPOSE_PROFILES, and data migration.
Lifecycle
Section titled “Lifecycle”- Upgrade — Upgrade to a new package version, verify the result, and roll back with the upgrade backup.
- Operations — Check state, version, and logs, restart or stop the services, clean up old versions, and remove the installation.