# Deploy new flows to a remote machine

**URL:** <https://discourse.nodered.org/t/deploy-new-flows-to-a-remote-machine/11105>\
**Category:** General\
**Created:** [14 May 2019 07:44 UTC](https://discourse.nodered.org/t/deploy-new-flows-to-a-remote-machine/11105 "2019-05-14T07:44:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [14 May 2019 08:43 UTC](https://discourse.nodered.org/t/deploy-new-flows-to-a-remote-machine/11105/3 "2019-05-14T08:43:18Z")

</div>

You can use the admin http api to do an HTTP Post of your flow json file to a remote Node-RED instance: [https://nodered.org/docs/api/admin/methods/post/flows/](https://nodered.org/docs/api/admin/methods/post/flows/)

For example:

```auto
curl -vX POST http://my-remote-node-red-server.com -d @flows.json --header "Content-Type: application/json"

```

should do it.

One slight complication is if your flow includes any credentials stored in your flows\_creds.json file. There's not quick and easy way to send that via the admin http api.

---

_[View the full topic](https://discourse.nodered.org/t/deploy-new-flows-to-a-remote-machine/11105)._
