Getting Connected

In this activity, you will connect to your workshop environment and set up a workbench for the lab exercises.

Login to OpenShift AI

  1. Open the OpenShift console using the URL provided for your workshop environment.

  2. Click the Applications menu button in the OpenShift toolbar.

  3. Click Red Hat OpenShift AI.

  4. Log in using the credentials provided for the workshop:

Username: user-abc123

Password: %password%

OpenShift AI displays the main console.

Create a project

  1. Use the empty user-abc123-demo project that has been created for you.

Project Overview

Create a workbench

  1. Click Create a workbench on the project Overview page.

Create Workbench
  1. Enter the following details into the Create workbench form:

Name: lab

Image Selection: Jupyter | Minimal | CPU | Python

Leave all other settings as defaults.

  1. Click Create workbench

OpenShift AI creates and starts the workbench. Wait for the status to change to Running.

Running Workbench

Open the workbench

  1. Click lab to open JupyterLab.

JupyterLab launches in your browser.

JupyterLab Overview

Open a terminal

For the workshop exercises you will use a terminal inside JupyterLab.

  1. In JupyterLab, click File > New > Terminal

  2. Verify Python is available:

    python --version

    You should see Python 3.12.x.

  3. Verify pip and curl are available:

    pip --version && curl --version | head -1
  4. Update the pip config to use the latest version of the packages:

    pip config set global.index-url https://console.redhat.com/api/pypi/public-rhai/rhoai/3.4-EA2/cpu-ubi9/simple/
  5. Login from the command line using the credentials provided for the workshop:

    oc login https://api.cluster.example.com:6443 -u user-abc123 -p %password%

You are now ready to begin the workshop modules.

End of activity

Congratulations, you have successfully connected to your environment.