> For the complete documentation index, see [llms.txt](https://ibm-developer.gitbook.io/cloudpakforapplications-appmod/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ibm-developer.gitbook.io/cloudpakforapplications-appmod/workshop-06-02-2020/day-1-labs/helm101/helm-setup.md).

# Lab 0

This section is broken up into the following steps:

1. [Access the Cloud Shell](/cloudpakforapplications-appmod/workshop-06-02-2020/day-1-labs/helm101/helm-setup.md#1-access-the-cloud-shell)
2. [Install Helm Version 3](/cloudpakforapplications-appmod/workshop-06-02-2020/day-1-labs/helm101/helm-setup.md#2-install-helm-version-3)
3. [Configure Kubectl](/cloudpakforapplications-appmod/workshop-06-02-2020/day-1-labs/helm101/helm-setup.md#3-configure-kubectl)
4. [Log into OpenShift](/cloudpakforapplications-appmod/workshop-06-02-2020/day-1-labs/helm101/helm-setup.md#4-log-into-openshift)

## 1. Access the Cloud Shell

From the [IBM Cloud Home Page](https://cloud.ibm.com), select the terminal icon in the upper lefthand menu.

![Terminal Button](/files/-M8mFyWvTCZMa547Tjes)

## 2. Install Helm Version 3

Run the following commands to install Helm Version 3

```bash
wget https://get.helm.sh/helm-v3.2.0-linux-amd64.tar.gz
```

```bash
tar -zxvf helm-v3.2.0-linux-amd64.tar.gz
```

```bash
ls -al
```

```bash
echo 'export PATH=$HOME/linux-amd64:$PATH' > .bash_profile
```

```bash
source .bash_profile
```

```bash
helm version --short
```

The result is that you should have Helm Version 3 installed.

```bash
$ helm version --short
v3.2.0+ge11b7ce
```

## 3. Configure Kubectl

Run the `ibmcloud ks clusters` command to verify the terminal and setup for access to the cluster

```
ibmcloud ks clusters
```

Configure the `kubectl` cli available within the terminal for access to your cluster.

```
ibmcloud ks cluster config --cluster [cluster name]
```

Verify access to the Kubernetes API.

```
kubectl get namespace
```

You should see output similar to the following, if so, then your're ready to continue.

```
NAME              STATUS   AGE
default           Active   125m
ibm-cert-store    Active   121m
ibm-system        Active   124m
kube-node-lease   Active   125m
kube-public       Active   125m
kube-system       Active   125m
```

## 4. Log into OpenShift

Optionally, if you would like to use OpenShift for this lab, then you will need to authenticate with the OpenShift console before continuing.

From the [IBM Cloud Home Page](https://cloud.ibm.com), make sure you are in the IBM Cloud account where your cluster is located. Select from the dropdown menu in the upper right.

![correct account](/files/-M8mXMZ0sbJzQEy89BoN)

Next, find your clusters by navigating to **Kubernetes->Clusters** in the upper lefthand menu

![Kubernetes Menu](/files/-M8mXMZ1hof98kjL7AkD)

Select your cluster to get to the cluster home page. Then, select the **OpenShift Web Console** Button

![cluster homepage](/files/-M8mXMZ2gl5zIXBTt7tI)

From the OpenShift console, in the upper righthand menu, select **Copy Login Command**

![copy login command](/files/-M8mXMZ3iuk7FrreP6o4)

Follow the instructions including logging in using your IBM ID to get the command to login. Run the command in your IBM Cloud Shell environment

```
oc login --token=... --server=...
```
