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

# Minikube

## Requirements

* Minikube
  * 4 CPU 16 GB RAM
* Helm 3.14+
* Kubectl

## Installation

### Start minikube

You can execute the following commands to start minikube:

```bash theme={null}
minikube start --driver=docker --cpus=4 --memory=16384
```

### Persistence Configration

You need to edit `values.yaml` and set the persistence type.

For more information, please refer to the [Persistent Storage](/en/2.8.x/deploy/advanced-configuration/persistent-storage).

> <a href="https://assets-docs.dify.ai/2025/01/e3d53c6c7d979c77d0a1809670fbf211.yaml" download="values.yaml">Click here</a> to download the `values.yaml` file.

### Install Dify Enterprise

Dify Enterprise is deployed using Helm.

```bash theme={null}
helm repo add dify https://langgenius.github.io/dify-helm
helm repo update

helm upgrade -i dify -f values.yaml dify/dify
```

For more information, please refer to the [Dify Helm Chart](/en/2.8.x/deploy/advanced-configuration/dify-helm-chart).

### Set up Ingress Controller

You can execute the following commands to enable the Ingress controller on your minikube cluster:

```bash theme={null}
minikube addons enable ingress
```

You should use the `minikube tunnel` command to expose the services to the host machine.

```bash theme={null}
minikube tunnel
```

### Access Dify Enterprise

After Ingress controller is enabled, you can set the domain in your local `/etc/hosts` file.

```
127.0.0.1 console.dify.local
127.0.0.1 app.dify.local
127.0.0.1 api.dify.local
127.0.0.1 upload.dify.local
127.0.0.1 enterprise.dify.local
```

### Verify Installation

**Warning**: You have to init Dify Console `http://console.dify.local` first before login to Dify Enterprise Dashboard `http://enterprise.dify.local`.

#### 1. Init Dify Console

* Visit `http://console.dify.local`.
* Init Email and Password.
* After initialization, you will be redirected to the login page and wait for license activation.
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/dify-4171f9f9/images/license-inactive.png" alt="" />

#### 2. Init Dify Enterprise Dashboard to Activate License

* Visit `http://enterprise.dify.local`.
* Login with the default email and password. You can change the password after login.
  * email: `dashboard@dify.ai`
  * password: `difyai123456`
* License Activation: After login, a dialog will pop up to activate the license.
  > For more information, please refer to the [License Activation](/en/2.8.x/deploy/license-activation).
