# Is there any official interface for Deploy Button can use

**URL:** <https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847>\
**Category:** General\
**Created:** [17 September 2022 11:21 UTC](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847 "2022-09-17T11:21:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sztt](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Sztt](https://discourse.nodered.org/u/Sztt)\
**Post date:** [17 September 2022 11:21 UTC](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847/1 "2022-09-17T11:21:12Z")

</div>

Node-RED version: v3.0.2  
Node.js version: v16.17.0  
Hi, I'm new to Node-red. I need to use the interface to call up the deployment button, so that I can use this interface to complete the deployment function rather than click the deploy button. I don't need to remove the deploy button. I have found some existing APIs on the official Docs, but there is still no solution, who can give me some guidance?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 September 2022 12:24 UTC](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847/2 "2022-09-17T12:24:06Z")

</div>

Welcome to the forum @Sztt

I think the problem Is that the API is on the node red server, but the deploy button is in the browser. I suspect that the server doesn't know anything about the changes you have made until you hit deploy, so there is no way it can deploy them.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [17 September 2022 13:34 UTC](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847/3 "2022-09-17T13:34:54Z")

</div>

Hi @Sztt

Where is your code running in relation to the editor?

If you have code inside the editor you can simulate a click on the button easily enough. But you cannot do that remotely.

Nick

---

<div class="post-metadata">

**Author:** ![Sztt](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Sztt](https://discourse.nodered.org/u/Sztt)\
**Post date:** [18 September 2022 04:00 UTC](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847/5 "2022-09-18T04:00:03Z")

</div>

Can you outline what i need to do to simulate a click?Thank you for your reply.

---

<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:** [17 November 2022 04:00 UTC](https://discourse.nodered.org/t/is-there-any-official-interface-for-deploy-button-can-use/67847/6 "2022-11-17T04:00:19Z")

</div>

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