# Nodered on bluemix

**URL:** <https://discourse.nodered.org/t/nodered-on-bluemix/8684>\
**Category:** General\
**Created:** [6 March 2019 22:03 UTC](https://discourse.nodered.org/t/nodered-on-bluemix/8684 "2019-03-06T22:03:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [6 March 2019 22:03 UTC](https://discourse.nodered.org/t/nodered-on-bluemix/8684/1 "2019-03-06T22:03:34Z")

</div>

have successfully password protected my node-red UI which is installed on my desktop. I am trying to do the same with the node-red UI on my IBM bluemix account.

I have read the relevant settings are located in the "bluemix-settings.js" file,

What's the code I need to put in there to password protect the UI?

---

<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:** [6 March 2019 22:28 UTC](https://discourse.nodered.org/t/nodered-on-bluemix/8684/2 "2019-03-06T22:28:45Z")

</div>

@Sirhc when you first deployed Node-RED into IBM Cloud it would have taken you through a startup wizard that allows you to setup username/password for your instance. Did you go through that?

This section of the docs tells you how you can change the username/password used via environment variables - [https://nodered.org/docs/platforms/bluemix#securing-the-editor](https://nodered.org/docs/platforms/bluemix#securing-the-editor)

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [7 March 2019 02:24 UTC](https://discourse.nodered.org/t/nodered-on-bluemix/8684/3 "2019-03-07T02:24:30Z")

</div>

thanks for the reply

The password you set during the startup wizard is only for the editor , not the ui dashboard?

For example when I post [xyz.bluemix.com/ui](http://xyz.bluemix.com/ui), the website doesn’t ask for a password even if it’s set at startup

---

<div class="post-metadata">

**Author:** ![Sirhc](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Post date:** [7 March 2019 12:10 UTC](https://discourse.nodered.org/t/nodered-on-bluemix/8684/4 "2019-03-07T12:10:47Z")

</div>

Got it to work! You need to download the app from bluemix and add httpNodeAuth to the bluemix-settings.js file then push it back to bluemix.
