# Using HEAVY.AI with JupyterLab

{% tabs %}
{% tab title="HEAVY.AI Enterprise Edition" %}
HEAVY.AI Enterprise Edition comes with a fully integrated version of [JupyterHub](https://jupyter.org/hub). This provides a secure, multi-user notebook environment for data exploration with OmniSci, and is the primary user interface for the HEAVY.AI Data Science Foundation.

You can quickly switch from visual data exploration, to a Data Science environment preloaded with useful open source libraries and tools that work with OmniSci transparently.

You can access [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/), the next generation Jupyter notebook UI from within Immerse via a button located on the dashboard title

![](https://604851066-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6kHkWH17KJKscL0Cc4%2F-MG4oQTBir7U1zNvCMHe%2F-MG4qvmO6cyzGb3gWK_2%2F7_datasci-jupyter-1.png?alt=media\&token=bf5dd8ad-f118-4118-93d4-519286e87985)

In addition, you can also launch JupyterLab from SQL Editor. In this case, a notebook is opened up with the query wrapped in an Ibis expression.

![](https://604851066-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6kHkWH17KJKscL0Cc4%2Fsync%2F392fabb8ff5c86622dcb98a2125d618512411fd1.png?generation=1610119643880996\&alt=media)

{% hint style="info" %}
HEAVY.AI Enterprise allows you to control which users have access to JupyterLab and Data Science tools. This is managed as a separate privilege under the HEAVY.AI role-based permissions model. Refer to the [installation](get-started-jupyter) instructions for how to set this up for specific users
{% endhint %}
{% endtab %}

{% tab title="HEAVY.AI Open Source Edition" %}
If you are an HEAVY.AI open source edition user, you do not have access to HeavyImmerse, but you can still explore HEAVY.AI with the Data Science Foundation tools.

{% hint style="info" %}
Using JupyterLab with HEAVY.AI Open Source Edition requires you to connect to HEAVY.AI explicitly from within a Jupyter notebook cell, using [Ibis](introduction-to-ibis) or [py](https://github.com/omnisci/docs-internal/tree/7ca9a3f8fbca75498ccfec3bba1ada3eb88f2fe4/apis-and-interfaces/pyomnisci.md)[mapd](https://github.com/omnisci/docs-internal/tree/7ca9a3f8fbca75498ccfec3bba1ada3eb88f2fe4/apis-and-interfaces/pyomnisci.md) connection syntax. Refer to the [Ibis](introduction-to-ibis) or pyomnisci examples for more details.
{% endhint %}

### Using the Anaconda Package Manager

If you are using the Anaconda package manager, you can install the set of Python tools for HEAVY.AI:

```
conda install -c conda-forge omnisci-pytools
```

### Using the HEAVY.AI Docker Container for Jupyter tools

You can download a prebuilt Docker container and simply start up these tools as a standalone container.
{% endtab %}
{% endtabs %}

## Tools and Utilities

HEAVY.AI provides a collection utilities to work with JupyterLab.

This is a collection of useful functions and Jupyter cell magics that allows running commands that are typically possible from [heavysql](../apis-and-interfaces/heavysql) from inside a notebook environment.
