# Running Jupyter Notebook

## Deploy your Cloud GPU

You can deploy a GPU on our [Marketplace](https://marketplace.tensordock.com/order_list) to your specific configurations based on cost, RAM, storage, and vCPUs.&#x20;

Select any TensorML installation (any of the first row in the following image). Note the required amount of disk space required for the installation.

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2FqtpGMlefAce6TWzSzxYe%2Fimage.png?alt=media&#x26;token=e972e24a-831b-4e86-93db-23bf8df1809c" alt=""><figcaption></figcaption></figure>

## Running Jupyter Notebook

First, SSH into your TensorDock instance. Refer to [this tutorial](https://docs.tensordock.com/marketplace/how-to-ssh-into-your-instance) if you do not know how.

Type the following command in your TensorDock instance to run Jupyter Notebook:

```bash
$ jupyter notebook --ip=0.0.0.0
```

Now, in your local computer, open your browser of choice and in the URL, enter `ip:[port forwarded into 8888]`

For example, in this instance, your URL should be `123.12.123.12:20297.`

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2FjoZX5O5LlHavXSJ5mTWr%2Fimage.png?alt=media&#x26;token=bfdd20c6-8fe3-427d-9783-2a5a4bbd54b0" alt=""><figcaption></figcaption></figure>

You will notice that a Token is required to access Jupyter Notebook

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2FFqGkmGkif9jGVd97knvd%2Fimage.png?alt=media&#x26;token=550c02f6-d7d9-4b5a-a01e-646e39426b1a" alt=""><figcaption></figcaption></figure>

In your TensorDock instance, you will find the token in the provided URLs (in this example, the third URL has `token=XXXXXXX` which is the token we want to paste into the Jupyter Notebook in our local browser.

Do not paste the URL that is instructed as it is the wrong IP address, as you should be using the URL from the previous step.

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2FVgbuOo3QqxyFw9Pan8Y4%2Fimage.png?alt=media&#x26;token=9496883c-978c-4ae8-9030-d0ed753702ab" alt=""><figcaption></figcaption></figure>

Enter the token into Jupyter Notebook. Success! You have logged into Jupyter Notebook on your TensorDock instance.

<figure><img src="https://276866638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FScYFYZoiZXazILi6lxJ5%2Fuploads%2F8WJbZMsVuUPmyAb66yp5%2Fimage.png?alt=media&#x26;token=a4ff7a8f-a4af-45c6-8d61-a5c0ee70265a" alt=""><figcaption></figcaption></figure>


---

# 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://docs.tensordock.com/virtual-machines/running-jupyter-notebook.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.
