> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to open a web UI of a Devlab

> Open a web UI of a running Devlab through its managed URL.

When a Devlab is running, you can open its web UI over a managed HTTPS URL. A public IP address isn't required. If you configured an SSH key and network access that allows SSH, you can also [connect to the VM by SSH](https://docs.nebius.com/serverless/reliability/failure.md#connect-to-the-container-by-using-ssh).

## Prerequisites

> [tab] Web console
>
> Make sure that you are in a [group](https://docs.nebius.com/iam/authorization/groups/index.md) that has the
> role within your
> .
> You can check this in the [Administration → IAM](https://console.nebius.com/iam) section of the web console.

> [tab] CLI
>
> * [Install and configure](https://docs.nebius.com/cli/install.md) the Nebius AI Cloud CLI.
>
>   Check that your project ID is saved in the Nebius AI Cloud CLI profile configuration:
>
>   ```bash theme={null}
>   cat ~/.nebius/config.yaml
>   ```
>
> * Make sure that you are in a [group](https://docs.nebius.com/iam/authorization/groups/index.md) that has the
>   role within your
>   .
>   You can check this in the [Administration → IAM](https://console.nebius.com/iam) section of the web console.

> [tab] Go SDK
>
> * [Install and initialize the Nebius SDK for Go](https://docs.nebius.com/sdk/go/install-auth.md).
> * Make sure that you are in a [group](https://docs.nebius.com/iam/authorization/groups/index.md) that has the
>   role within your
>   .
>   You can check this in the [Administration → IAM](https://console.nebius.com/iam) section of the web console.

> [tab] Python SDK
>
> * [Install and initialize the Nebius SDK for Python](https://docs.nebius.com/sdk/python/install-auth.md).
> * Make sure that you are in a [group](https://docs.nebius.com/iam/authorization/groups/index.md) that has the
>   role within your
>   .
>   You can check this in the [Administration → IAM](https://console.nebius.com/iam) section of the web console.

> [tab] JavaScript SDK
>
> * [Install and initialize the Nebius SDK for JavaScript](https://docs.nebius.com/sdk/javascript/install-auth.md).
> * Make sure that you are in a [group](https://docs.nebius.com/iam/authorization/groups/index.md) that has the
>   role within your
>   .
>   You can check this in the [Administration → IAM](https://console.nebius.com/iam) section of the web console.

## Steps

> [tab] Web console
>
> 1. In the sidebar, go to  **Serverless AI** → **Devlabs**.
> 2. Open the page of the required Devlab.
> 3. Wait until the Devlab is running. Then, in the **Network** section, copy the public Devlab address from the **Public endpoints** field.
> 4. In a browser, open the URL. For the JupyterLab® template, enter the Jupyter token in the JupyterLab password field. If you created the Devlab in the console, use the token that the console generated.

> [tab] CLI
>
> 1. List Devlabs and copy the ID of the Devlab to open:
>
>    ```bash theme={null}
>    nebius ai devlab list
>    ```
>
>    You can also copy the Devlab ID from the web console. Go to  **Serverless AI** → **Devlabs**. The ID is shown under the Devlab name.
>
> 2. Get the Devlab details and copy the HTTPS URL from the output:
>
>    ```bash theme={null}
>    nebius ai devlab get <devlab_ID>
>    ```
>
> 3. In a browser, open the HTTPS URL. For the JupyterLab® template, enter the `jupyter_token` value that you set at create time in the JupyterLab password field.

> [tab] Go SDK
>
> 1. List Devlabs:
>
>    ```go theme={null}
>    listDevlabService := sdk.Services().Ai().V1().Devlab()
>    listDevlabsRequest := &ai.ListDevlabsRequest{
>        ParentId: "<project_ID>",
>    }
>    for {
>        devlabs, err := listDevlabService.List(
>            ctx, listDevlabsRequest,
>        )
>        if err != nil {
>            return fmt.Errorf("list devlabs: %w", err)
>        }
>        fmt.Println(devlabs)
>        if devlabs.GetNextPageToken() == "" {
>            break
>        }
>        listDevlabsRequest.PageToken = devlabs.GetNextPageToken()
>    }
>    ```
>
>    In `ai.ListDevlabsRequest`, set `ParentId` to the [project ID](https://docs.nebius.com/iam/manage-projects.md#go-sdk-3). In the response, copy the `Metadata.Id` of the required Devlab.
>
> 2. Get the Devlab details:
>
>    ```go theme={null}
>    getDevlabService := sdk.Services().Ai().V1().Devlab()
>    devlab, err := getDevlabService.Get(
>        ctx,
>        &ai.GetDevlabRequest{Id: "<devlab_ID>"},
>    )
>    if err != nil {
>        return fmt.Errorf("get devlab: %w", err)
>    }
>    fmt.Println(devlab)
>    ```
>
>    In `ai.GetDevlabRequest`, set `Id` to the Devlab ID. Copy the HTTPS URL from `Status.PublicEndpoints` in the response.
>
> 3. In a browser, open the HTTPS URL. For JupyterLab®, enter the token that you supplied when creating the Devlab in the JupyterLab password field.

> [tab] Python SDK
>
> 1. List Devlabs:
>
>    ```python theme={null}
>    list_devlab_service = DevlabServiceClient(sdk)
>    list_devlabs_request = ListDevlabsRequest(
>        parent_id="<project_ID>",
>    )
>    while True:
>        devlabs = await list_devlab_service.list(
>            list_devlabs_request,
>        )
>        print(devlabs)
>        if not devlabs.next_page_token:
>            break
>        list_devlabs_request.page_token = devlabs.next_page_token
>    ```
>
>    In `ListDevlabsRequest`, set `parent_id` to the [project ID](https://docs.nebius.com/iam/manage-projects.md#python-sdk-3). In the response, copy the `metadata.id` of the required Devlab.
>
> 2. Get the Devlab details:
>
>    ```python theme={null}
>    get_devlab_service = DevlabServiceClient(sdk)
>    devlab = await get_devlab_service.get(
>        GetDevlabRequest(id="<devlab_ID>"),
>    )
>    print(devlab)
>    ```
>
>    In `GetDevlabRequest`, set `id` to the Devlab ID. Copy the HTTPS URL from `status.public_endpoints` in the response.
>
> 3. In a browser, open the HTTPS URL. For JupyterLab®, enter the token that you supplied when creating the Devlab in the JupyterLab password field.

> [tab] JavaScript SDK
>
> 1. List Devlabs:
>
>    ```ts theme={null}
>    const listDevlabService = new DevlabService(sdk);
>    const listDevlabsRequest = ListDevlabsRequest.create({
>      parentId: "<project_ID>",
>    });
>    while (true) {
>      const devlabs = await listDevlabService.list(
>        listDevlabsRequest,
>      );
>      console.log(devlabs);
>      if (!devlabs.nextPageToken) {
>        break;
>      }
>      listDevlabsRequest.pageToken = devlabs.nextPageToken;
>    }
>    ```
>
>    In `ListDevlabsRequest`, set `parentId` to the [project ID](https://docs.nebius.com/iam/manage-projects.md#javascript-sdk-3). In the response, copy the `metadata.id` of the required Devlab.
>
> 2. Get the Devlab details:
>
>    ```ts theme={null}
>    const getDevlabService = new DevlabService(sdk);
>    const devlab = await getDevlabService.get(
>      GetDevlabRequest.create({ id: "<devlab_ID>" }),
>    );
>    console.log(devlab);
>    ```
>
>    In `GetDevlabRequest`, set `id` to the Devlab ID. Copy the HTTPS URL from `status.publicEndpoints` in the response.
>
> 3. In a browser, open the HTTPS URL. For JupyterLab®, enter the token that you supplied when creating the Devlab in the JupyterLab password field.

***

*"Jupyter" and the Jupyter logos are trademarks or registered trademarks of LF Charities, used by Nebius B.V. with permission.*
