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

# Dev Mode Installation

> Install TrueFoundry in dev mode. Quick local setup for testing and experimentation.

## Dev Mode

## Infrastructure Requirements

| Requirements                      | Description                                                                                                                                                                                                                                                                                       | Reason for Requirement                                                                              |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| Kubernetes Cluster                | Any Kubernetes cluster will work here - we can also choose the compute-plane cluster itself to install TrueFoundry helm chart                                                                                                                                                                     | The TrueFoundry helm chart will be installed here                                                   |
| Egress Access for TrueFoundryAuth | Egress access to [https://auth.truefoundry.com](https://auth.truefoundry.com), [https://login.truefoundry.com](https://login.truefoundry.com), [https://catalogue.truefoundry.com](https://catalogue.truefoundry.com), and [https://analytics.truefoundry.com](https://analytics.truefoundry.com) | This is needed to verify the users logging into the TrueFoundry platform for licensing purposes     |
| Egress access For Docker Registry | 1. public.ecr.aws 2. quay.io 3. ghcr.io 4. docker.io/truefoundrycloud 5. docker.io/natsio 6. nvcr.io 7. registry.k8s.io                                                                                                                                                                           | This is to download docker images for TrueFoundry, ArgoCD, NATS, ArgoRollouts, ArgoWorkflows, Istio |

## Installation steps

1. Install argoCD -
   ```powershell lines theme={"dark"}
   kubectl create namespace argocd
   kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/core-install.yaml
   ```

1) Add the truefoundry helm repo
   ```powershell lines theme={"dark"}
   helm repo add truefoundry https://truefoundry.github.io/infra-charts/
   helm repo update
   ```

2) We will create a `values.yaml` for the helm chart installation -

   1. Download the values.yaml from helm chart repo -
      ```powershell lines theme={"dark"}
      curl https://raw.githubusercontent.com/truefoundry/infra-charts/main/charts/tfy-k8s-generic-inframold/values.yaml > values.yaml
      ```
   2. Fill in the `tenant_name`, `cluster_name`, `truefoundry_image_pull_config_json`, `tfy_api_key`, `truefoundry_internal_jwt_jwks` and `INITIAL_ADMIN_OAUTH_USER_PASSWORD`in the downloaded file. You can get these from the TrueFoundry team

3) Apply the helm chart with the values.yaml
   ```powershell lines theme={"dark"}
   helm install -n argocd inframold truefoundry/tfy-k8s-generic-inframold --version 0.0.18 -f values.yaml
   ```

## Test the installation

1. Port forward the tfy-proxy application to access the TrueFoundry dashboard -
   ```powershell lines theme={"dark"}
   kubectl port-forward svc/truefoundry-tfy-proxy -n truefoundry 8080
   ```
2. Access the truefoundry dashboard from a browser by opening `http://localhost:8080`. You can login with the username and password provided by the TrueFoundry team.
3. Now you are ready to connect a cluster to the TrueFoundry platform and get deploying. Go [here](/docs/infrastructure/deploy-compute-plane) for the directions. You can also onboard the same cluster as the control plane

***
