> 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-07-28-2020/setup/skillsnetwork.md).

# Access IBM Skills Network

## 1. Access IBM Skills Network

1. If you have registered your account, you can access the lab environment at <https://labs.cognitiveclass.ai/> and go directly to step 6.
2. Navigate to <https://labs.cognitiveclass.ai/register>,

   ![Cognitive Class button](https://3805880268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2F3e6b61eedfe1635ad24e753de39ccdeb64b692a0.png?generation=1595458653704870\&alt=media)
3. Create a new account with a Social login (LinkedIn, Google, Github or Facebook), or click the `Cognitive Class` button,

   ![Cognitive Class button](https://3805880268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2Fc9dd981ab4bb0000f0b385aa558d6de6a0101e06.png?generation=1595458653864386\&alt=media)
4. Click `Create an Account`,
5. Fill in your Email, Full Name, Public Username and password, click on the check boxes next to the `Privacy Notice` and `Terms of Service` to accept them. Then click on `Create Account`.
6. You will then be taken to a page with a list of sandbox environments. Click on the option for **Theia - Cloud IDE (With OpenShift)**

   ![sandbox list](https://3805880268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2F1d2585aa78b8dafba10d71fca56fd74a9dfda735.png?generation=1595458654102106\&alt=media)
7. Wait a few minutes while your environment is created.

   ![waiting](https://3805880268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2Fe9c2dcd089021d922b6a2b4245531c64faefd965.png?generation=1595458654301140\&alt=media)
8. You will be taken to a blank editor page once your environment is ready.
9. What we really need is access to the terminal. Click on the `Terminal` tab near the top of the page and select **New Terminal**

   ![New Terminal](https://3805880268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2F3450cc082ddef8e249e6d6540db212d821e295bc.png?generation=1595458653329922\&alt=media)
10. You can then click and drag the top of the terminal section upwards to make the terminal section bigger.

    ![bigger terminal](https://3805880268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2F6e75aa7251947e1c3031404e28b186b81976a8db.png?generation=1595458653128511\&alt=media)

## 2. Connect to OpenShift Cluster

1. In a new browser tab, go to <https://cloud.ibm.com/kubernetes/clusters?platformType=openshift>.
2. Select your cluster instance and open it.
3. Click `OpenShift web console` button on the top.
4. Click on your username in the upper right and select `Copy Login Command` option.

   ![Terminal Button](https://3805880268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1Bh2a26msY5M4vW3R9%2Fsync%2F56325ed4139fbc9b821e66e602b696b6565a35f7.png?generation=1595447212566331\&alt=media)
5. Click the `Display Token` link.
6. Copy the contents of the field `Log in with this token` to the clipboard. It provides a login command with a valid token for your username.
7. Go to the `Cloud Shell` tab.
8. Paste the `oc login command` in the IBM Cloud Shell terminal and run it.
9. After login to your cluster, set an environment variable for your cluster.

   ```
   export CLUSTER_NAME=<your_cluster_name>
   ```
10. Verify you connect to the right cluster.

    ```
    kubectl get pod
    ```

## 3. Install s2i CLI tool

To install s2i CLI tool,

1. Download tar file.

   ```
    curl -s https://api.github.com/repos/openshift/source-to-image/releases/latest \
      | grep browser_download_url \
      | grep linux-amd64 \
      | cut -d '"' -f 4 \
      | wget -qi -
   ```
2. Unzip tar file

   ```
    tar xvf source-to-image*.gz
   ```
3. Make s2i CLI accessiblee.

   ```
    sudo mv s2i /usr/local/bin
   ```
4. verify

   ```
    s2i version
   ```

With that done, you can start the lab.
