# Pod Setup

* **IF YOU INSTALLED FROM AZURE MARKETPLACE**  Execute the following command from the command line

```
kubectl get pods -o wide
```

* Look for the pod that contains the name you entered on the Extension Resource Name during the install.  With that name you now can access the control panel to created the SQL Simulator pods.  To access the control panel issue the following command from the command line.  Please replace "pod\_name\_here" with the name of pod

```
kubectl port-forward pod_name_here 5000:5000
```

* **IF YOU INSTALLED FROM SSCP.YML FILE**  To access the control panel to created the SQL Simulator pods issue the following command from the command line. &#x20;

```
kubectl port-forward sql-simulator-control-panel 5000:5000
```

* Open a browser and type "<http://localhost:5000/>"
* Follow the prompts to create a pod
* When you created the pod you gave the pod a name.  Please replace "pod\_name\_here" with the name of your pod and execute this from the command prompt.  Please remember you must go to the control panel and initialize the pod within 5 minutes or the pod will self destruct.&#x20;

```
kubectl port-forward pod_name_here 8080:80 5433:5432
```

* Open a browser and go to the following URL

```
http://localhost:8080/
```

* Type in the user name and password the click "Initialize".  This is the User Name and Password you will use to connect to the database


---

# 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://sql-simulator.tribalknowledge.tech/hello-world-tutorials/postgres/pod-setup.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.
