How do I setup Jupyter Notebook to run pyspark/spark code

Hi all,

I am setting up my lab to learn spark with python as the choosen API (programming languange). I have spark, python and jupyter notebook installed on my Windows 11 PC, but I do not know how to set up the configuration to work with with pyspark code from jupyter notebook

Anyone to point me to an article or instruction on how to setup the lab correctly.

Thanks in advance