Thank you for the links, now I understand the processes!
I also found a useful instruction step by step about how to configure hue spark notebook if anyone is interested:
Could you please tell me how to edit and save hue.ini. everytime i do this it says you don't have permission to save the file. Please tell me how to login as the owner or how to save the hue.ini file.