How to open / close an application with a button

I'm on a project developing a chatbot, using watson assistant with the node-red platform.
I would like to know how I can create a button that turns the application on and off. That is, a frontend that when I open the application and click on call, it takes me
the chatbot page.

Supposedly where the "control panel" is, it would be the frontend but with a button
bigger (round) on / off and that opens the "main screen" when turned on.
If anyone can help me, I would appreciate it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.