> For the complete documentation index, see [llms.txt](https://help.bioinsight.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.bioinsight.illumina.com/connected-analytics/project-web-ui/p-bench/bench-jupyterlab.md).

# JupyterLab

Bench workspaces require setting a Docker image to use as the image for the workspace. Platform Core provides a default Docker image with [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/) installed.

JupyterLab supports [Jupyter Notebook documents](https://ipython.org/ipython-doc/dev/notebook/notebook.html#notebook-documents) (.ipynb). Notebook documents consist of a sequence of cells which may contain executable code, markdown, headers, and raw text.

The JupyterLab Docker image contains the following environment variables:

<table><thead><tr><th width="321.58984375">Variable</th><th>Set to</th></tr></thead><tbody><tr><td>ICA_URL</td><td><code>https://ica.illumina.com/ica</code> (Platform Core server URL)</td></tr><tr><td>ICA_PROJECT_UUID</td><td>Current project UUID</td></tr><tr><td>ICA_SNOWFLAKE_ACCOUNT</td><td>Platform Core Snowflake (Base) Account ID</td></tr><tr><td>ICA_SNOWFLAKE_DATABASE</td><td>Platform Core Snowflake (Base) Database ID</td></tr><tr><td>ICA_PROJECT_TENANT_NAME</td><td>Name of the owning tenant of the project where the workspace is created.</td></tr><tr><td>ICA_STARTING_USER_TENANT_NAME</td><td>Name of the tenant of the user which last started the workspace.</td></tr><tr><td>ICA_COHORTS_URL</td><td>URL of the Cohorts web application used to support the Cohort's view</td></tr></tbody></table>

{% hint style="info" %}
To export data from your workspace to your local machine, it is best practice to move the data in your workspace to the `/data/project/` folder so that it becomes available in your project under **projects > your\_project > Data**.
{% endhint %}

## Platform Core Python Library

Included in the default JupyterLab Docker image is a python library with APIs to perform actions in Platform Core, such as add data, launch pipelines, and operate on Base tables. The python library is generated from the [Open API specification](https://ica.illumina.com/ica/api/swagger/index.html#/) using [openapi-generator](https://github.com/OpenAPITools/openapi-generator).

The Platform Core Python library API documentation can be found in folder `/etc/ica/data/ica_v2_api_docs` within the JupyterLab Docker image.

See the [Bench ICA Python Library Tutorial](/connected-analytics/tutorials/bench-ica-python-library.md) for examples on using the Platform Core Python library.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.bioinsight.illumina.com/connected-analytics/project-web-ui/p-bench/bench-jupyterlab.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
