> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enkryptai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Helm Installation

This guide provides detailed instructions for installing the Enkrypt AI platform using Helm charts. **Before proceeding, ensure you have met all [infrastructure requirements](infra-requirement.mdx) and [configuration prerequisites](configuration-requirement.mdx).**

## 1. Add the Enkrypt AI Helm Repository

First, add the official Enkrypt AI Helm chart repository to your Helm configuration and update your local chart cache.

```bash theme={"system"}
helm repo add enkryptai https://enkryptai.github.io/helm-charts
helm repo update
```

### Expected Output:

```
Successfully added "enkryptai" to your repositories
Helm Release "enkryptai" has been updated. Happy Helming!
```

## 2. Install the Platform Chart

The platform chart deploys core dependencies and shared infrastructure components necessary for the Enkrypt AI stack.

```bash theme={"system"}
helm upgrade --install platform enkryptai/platform-stack \
  -n enkryptai-stack \
  -f ./values/platform.yaml \
  --timeout 15m
```

* `--install`: Installs the chart if it doesn't exist, or upgrades it if it does.
* `platform`: The name of the release.
* `enkryptai/platform-stack`: The chart to install from the `enkryptai` repository.
* `-n enkryptai-stack`: Specifies the target Kubernetes namespace.
* `-f ./values/platform.yaml`: Specifies the path to your custom `values.yaml` file for the platform chart.
* `--timeout 15m`: Sets the maximum time for the Helm operation to complete.

### Expected Output (example - actual output may vary):

```
Release "platform" does not exist. Installing it now.
NAME: platform
LAST DEPLOYED: Thu Oct 23 12:32:38 2025
NAMESPACE: enkryptai-stack
STATUS: deployed
REVISION: 1
```

## 3. Install the Enkrypt AI Stack Chart

This step deploys the main Enkrypt AI application stack. Before installing the chart, a temporary ConfigMap for the API gateway needs to be applied.

### Step 3.1: Apply Gateway ConfigMap

**This step is required only for enkryptai-stack versions ≤ v1.1.20.**

Apply the necessary ConfigMap for the API gateway (Kong).

```bash theme={"system"}
kubectl apply -f https://raw.githubusercontent.com/enkryptai/helm-charts/main/charts/enkryptai-stack/gateway-temp-config-map.yaml
```

### Step 3.2: Install the Enkrypt AI Stack

Install the primary Enkrypt AI application chart.

```bash theme={"system"}
helm upgrade --install enkryptai enkryptai/enkryptai-stack \
  -n enkryptai-stack \
  -f ./values/enkryptai-stack.yaml \
  --timeout 15m
```

* `--install`: Installs the chart if it doesn't exist, or upgrades it if it does.
* `enkryptai`: The name of the release.
* `enkryptai/enkryptai-stack`: The chart to install from the `enkryptai` repository.
* `-n enkryptai-stack`: Specifies the target Kubernetes namespace.
* `-f ./values/enkryptai-stack.yaml`: Specifies the path to your custom `values.yaml` file for the Enkrypt AI stack chart.
* `--timeout 15m`: Sets the maximum time for the Helm operation to complete.

### Expected Output (example - actual output may vary):

```
Release "enkryptai" does not exist. Installing it now.
NAME: enkryptai
LAST DEPLOYED: Thu Oct 23 12:43:06 2025
NAMESPACE: enkryptai-stack
STATUS: deployed
REVISION: 1
```

Additionally, ensure that all required [SSL Certificates for Your Domains](configuration-requirement.mdx#ingress-and-dns-configuration) are properly configured as outlined in the configuration prerequisites.

## Next Steps

Once the Helm installation is complete, proceed to the [Post-Installation Guide](post-installation.mdx) for further configuration and verification steps.
