Availability
This guide covers the Enterprise Edition of Tyk AI Studio. For the Community Edition, refer to the Tyk AI Studio GitHub repository. The Community Edition uses different Docker images (
tykio/tyk-ai-studio and tykio/tyk-microgateway) and does not require a license key.The Helm chart uses the older name
microgateway for the Edge Gateway component. Examples are the microgateway: values block and the tykio/tyk-microgateway-ent image. This guide uses “Edge Gateway” in prose for the same component.Prerequisites
- Kubernetes 1.16+
- Helm 3.0+
kubectlconfigured with access to your cluster- A Tyk AI license key, from support@tyk.io or your account manager
- For production with TLS: cert-manager installed in your cluster
Running on Podman, containerd, or another container runtime? See Container Runtimes.
Generate Secrets
The Helm chart leaves three secrets empty. Generate a key for each before you install. Refer to Tyk AI Studio in the Default Secrets Configuration Reference.Option 1: Testing / Quickstart
Use this option for local development or test clusters. It uses NodePort services, internal PostgreSQL, and no ingress.1. Add the Helm Chart
The Helm chart is in the Tyk AI Studio GitHub repository.2. Create values-testing.yaml
Replace the placeholder secrets with your generated values. The values in each pair must match: grpcAuthToken and edgeAuthToken, microgatewayEncryptionKey and encryptionKey.
Expandable
3. Install
4. Set External Gateway URL
AI Studio routes to the internal service URL of the Edge Gateway. The AI Portal shows the external URL for tools and data sources. After install, patch the configuration with the node IP of your cluster:If you know the external IP or hostname of your cluster before you install, set
config.toolDisplayUrl and config.datasourceDisplayUrl in your values file instead.5. Verify
If you cannot reach the node IP from your machine (for example, with kind or Docker Desktop on macOS), use Then open
kubectl port-forward instead:http://localhost:8080. In step 4, set SITE_URL to http://localhost:8080.Access Points
Option 2: Production with TLS
Use this option for production deployments with Ingress, TLS through cert-manager, and an external database.1. Create values-production.yaml
Replace all placeholder values with your configuration.
Expandable
2. Install
Run these commands from theai-studio/helm directory. To get the chart, follow step 1 of Option 1.
3. Verify
After Deployment
First User Registration
After you start the services, create the first user:- Open your configured
siteUrl(for example,https://studio.yourdomain.com) in your browser. - Select Sign up, then enter a name, an email address, and a password.
- Log in with the new account.
The first user who registers becomes the administrator. You can use any email address. Other users must verify their email address before they can log in, so configure SMTP before you invite them. AI Studio ignores the deprecated
ADMIN_EMAIL variable.Add Your API Keys
At first startup, AI Studio creates OpenAI and Anthropic LLM configurations with the placeholder secretsOPENAI_KEY and ANTHROPIC_KEY. To use them:
- Open AI Studio at your
siteUrland log in with your admin account. - In the sidebar, go to Settings > Secrets.
- Click OPENAI_KEY and add your OpenAI API key.
- Click ANTHROPIC_KEY and add your Anthropic API key.
Push Configuration to the Edge Gateway
- In the sidebar, go to Portal administration > Edge Gateways.
- Make sure that your Edge Gateway shows as Connected. Its Edge ID is the pod name, for example
midsommar-microgateway-64b5f9879d-mf5p2. - Click Push Configuration.