There are several ways to connect to Jupyter Notebook/Lab, e.g. one is using the Web Interface and another one is using the VSCode/Cursor/Windsurf’s Jupyter extension.

image.png

image.png

Both are absolutely viable but we recommend the VSCode extension approach due to the improved developer experience, thanks to local editing & AI capabilities.

Authenticating

In order to connect to your Jupyter server, you need to acquire your authentication token.

To do this, back in your service dashboard, click the SSH into pod quick action:

image.png

Once you’re in the shell, run the command jupyter server list. This will give you an output that looks like the following:

image.png

From here, copy just the token (208...701). You can now use this token to authenticate with the Web interface (accessible via the Public URL, shown above) or use it to connect with the VSCode extension.

Web Interface Login

To login, just access the public URL and paste the token:

image.png

VSCode Extension

Once you’ve installed the Jupyter extension, and have created an example notebook, you can click select kernel:

image.png

From there, Select “Existing Jupyter Server…”:

image.png

Enter the Public URL while making sure you have https:// in front and no trailing slashes: