# Load the schema

Now we will need some CLI access. First, go to <https://labs.cognitiveclass.ai> and start a **Theia - Cloud IDE (With OpenShift)** session

![cognitiveclass](https://3928126737-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHI9hQsrkpOgN4dX6Cj%2Fsync%2Fa70fb968c96c9df1342a8e30ca04c47f683b659d.png?generation=1600695210877190\&alt=media)

back on your OpenShift web console, click you email address in the upper right corner and choose **Copy Login Command**

![copy login command](https://github.com/IBM/ddc-hybrid-cloud-labs/tree/e567126aa8b601408ba75aa74e1d8ebe98719b5f/docs/operators/logincommand.png)

From the resulting screen, grab your login credentials, and copy them into your ClognitiveClass terminal

![clusterlogin](https://3928126737-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHI9hQsrkpOgN4dX6Cj%2Fsync%2F5567057f878d51d048eb65269e1a29183a597206.png?generation=1600695207278319\&alt=media)

switch to the example bank project

```
git clone https://github.com/IBM/example-bank
```

Create a secret so the script that loads the schema can access the database

```
kubectl create secret generic bank-db-secret --from-literal=DB_SERVERNAME=creditdb --from-literal=DB_PORTNUMBER=5432 --from-literal=DB_DATABASENAME=example --from-literal=DB_USER=postgres --from-literal=DB_PASSWORD=postgres
```

Run the script to create the schema

```
oc apply -f data_model/job.yaml
```

![schema](https://raw.githubusercontent.com/IBM/example-bank/main/images/schema-1.png)
