# How to open / close an application with a button

**URL:** <https://discourse.nodered.org/t/how-to-open-close-an-application-with-a-button/42227>\
**Category:** General\
**Created:** [7 March 2021 21:54 UTC](https://discourse.nodered.org/t/how-to-open-close-an-application-with-a-button/42227 "2021-03-07T21:54:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aneto](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Aneto](https://discourse.nodered.org/u/Aneto)\
**Post date:** [7 March 2021 21:54 UTC](https://discourse.nodered.org/t/how-to-open-close-an-application-with-a-button/42227/1 "2021-03-07T21:54:41Z")

</div>

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.

 ![img4](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/3/c3042f2c76af21962ad8d8dac21fc07e405d6a8d.png) ![img3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/0/c059f4b6ca4d566cac0927dbf258e55b7657b924.png) ![img2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/43292ee79e0500984294abef8aa288c2dceda30c.png) ![img1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/3/73444061cb67e1410af488786215b8eba34f334b.png)

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 May 2021 21:55 UTC](https://discourse.nodered.org/t/how-to-open-close-an-application-with-a-button/42227/2 "2021-05-06T21:55:41Z")

</div>

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