Prerequisites for Installation
- Kubernetes Cluster: K8s cluster 1.27+.
-
Domain to map the ingress of the AI Gateway along with certificate for the domain. (also any ingress controller or istio gateway you are using)
This Domain will be referred as Gateway Endpoint Host in our documentation.
-
TrueFoundry SaaS Account: Sign up and create a new tenant on TrueFoundry SaaS by logging in to TrueFoundry. You will receive an invitation on your email to verify your email and login.
While signing up, you will sign up by entering your company name. This company name will be used as the tenant name. Your control plane URL will be
https://<YOUR_COMPANY_NAME>.truefoundry.cloud. If your company name isexample-company, then your control plane URL will behttps://example-company.truefoundry.cloud. -
Egress access to TrueFoundry SaaS:
- Control Plane:
https://<CONTROL_PLANE_URL>(for example,https://example-company.truefoundry.cloud)
- Control Plane:
- Image Pull Secret: Image pull secret from TrueFoundry team to enable pulling the truefoundry images from the private registry.
Installation Instructions
Create Gateway Endpoint in TrueFoundry SaaS
Create an entry for Gateway Endpoints by logging into the TrueFoundry SaaS platform.

- Navigate to Settings -> Gateway Endpoints
- Create a new gateway endpoint with a unique name
- Enter the URL where you will be deploying your gateway


The gateway installation name you provide here will be used in the next step to generate the
GatewayToken.Generate the GatewayToken
The
Once you have the
GatewayToken is used by the gateway service running in your infrastructure to authenticate with the TrueFoundry control-plane. To generate it, you need to call a control-plane API using a Personal Access Token from a user with the tenant-admin role. This is a one-time call — once you have the GatewayToken, you do not need to call this API again.| Parameter | Description |
|---|---|
CONTROL_PLANE_URL | Your control plane URL, e.g. example-company.truefoundry.cloud (without https://) |
PERSONAL_ACCESS_TOKEN | A Personal Access Token created from Settings -> Access -> Personal Access Tokens. The user must have the tenant-admin role. |
GATEWAY_INSTALLATION_NAME | The gateway installation name from step 1 |
GatewayToken, proceed to create the Kubernetes secrets needed for the gateway helm chart installation.Create Kubernetes Secrets
We will create two secrets in this step:
- Store the
GatewayToken - Store the Image Pull Secret
Create Kubernetes Secret for GatewayToken
Create Kubernetes Secret for GatewayToken
We need to create a Kubernetes secret containing the Apply the secret to the Kubernetes cluster (Assuming you are installing the gateway plane in the
GatewayToken obtained in the previous step.
The helm chart expects this token under the key name TFY_API_KEY.truefoundry-creds.yaml
truefoundry namespace)Create Kubernetes Secret for Image Pull Secret
Create Kubernetes Secret for Image Pull Secret
We need to create a Image Pull Secret to enable pulling the truefoundry images from the private registry.Apply the secret to the Kubernetes cluster (Assuming you are installing the gateway plane in the
truefoundry-image-pull-secret.yaml
truefoundry namespace)Create Helm Chart Values file
Create a values file as given below and replace the following values:You can find full list of supported values here.
- CONTROL_PLANE_URL: Your control plane URL in the format
company-name.truefoundry.cloud(without thehttps://prefix). For example, if your company name isexample-company, then useexample-company.truefoundry.cloud. - TENANT_NAME: The tenant name (same as the company name you used to create your account on TrueFoundry SaaS)
- GATEWAY_ENDPOINT_HOST: The domain where you will expose the gateway endpoint (e.g.,
gateway.example.com)
truefoundry-values.yaml
Install the Helm Chart
Install the TrueFoundry Helm chart using the values file created in the previous step:
Accessing the Gateway
You can now access the gateway endpoint from the TrueFoundry SaaS UI by selecting the gateway endpoint from the dropdown in Playground as shown below:
https://<GATEWAY_ENDPOINT_HOST> and can be used to make LLM inference requests through the TrueFoundry AI Gateway.