# 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](/files/-MHWIel18aFy0bnmJDw3)

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](/files/-MHWIel6qCBZXlB9EfhK)

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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ibm-developer.gitbook.io/digital-developer-conference-hybrid-cloud/operator-workshop/lab2/lab2_load.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
