> For the complete documentation index, see [llms.txt](https://docs.qblocks.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qblocks.cloud/q-blocks-how-to-guide/launch-tensorboard-in-q-blocks-instance.md).

# Launch TensorBoard in Q Blocks instance

Tensorboard comes pre-installed in the Q Blocks instances that are launched with Tensorflow based AI Images.

But if you have launched a Q Blocks instance with a different AI image other than Tensorflow based then you can simply install Tensorboard with the following command:

```bash
pip install tensorboard
```

Once you have launched the instance and Tensorboard is available in it, you can follow the next steps to get started with using it:

1. Click on the "More info" button for your instance on the Instances page in your Dashboard.
2. Copy the **Extra Port** and **Host URL** as shown in the image:

<figure><img src="/files/GngYupSQam067fQ7d5CX" alt="" width="563"><figcaption></figcaption></figure>

3. Now, access your instance via Terminal or Jupyter Lab and run the following command in your instance to launch Tensorboard:

<pre class="language-bash" data-full-width="false"><code class="lang-bash"><strong>tensorboard --logdir LOG_FOLDER --host=0.0.0.0 --port EXTRA_PORT
</strong></code></pre>

> Replace <mark style="color:red;">EXTRA\_PORT</mark> with the Port number copied in last step

3. Now head over to your browser and access your TensorBoard running at the following URL:

```bash
http://HOST_URL:EXTRA_PORT
```

#### For example:

{% hint style="info" %}
If we ran TensorBoard application in our instance with information provided in the above image then we would see it running at the following URL: <http://jus.qblocks.cloud:56329>
{% endhint %}

This should help you get started with running applications like TensorBoard that needs access via browser in your instance.

If you still face issues setting it up then don't hesitate to reach out to us at: [support@qblocks.cloud](mailto:support@qblocks.cloud?subject=Unable%20to%20launch%20TensorBoard)
