I have a remote headless Pi, so I ssh into it and use web access to HA.
Here’s how I installed jupyterlab
pip3 install jupyterlab
/home/pi/.local/bin/jupyter notebook --generate-config
for remote access
next edit the confg file at /home/pi/.jupyter/jupyter_notebook_config.py
c = get_config()
c.NotebookApp.ip = ‘*’
c.NotebookApp.allow_remote_access = True
c.NotebookApp.open_browser = True
run with
/home/pi/.local/bin/jupyter lab
the terminal window will give you the access token for remote access