Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways.
This instance is running as an IBM Cloud application, giving it access to the wide range of services available on the platform.
More information about Node-RED, including documentation, can be found at nodered.org.
This instance of Node-RED is enough to get you started creating flows.
You may want to customise it for your needs, for example replacing this introduction page with your own, adding http authentication to the flow editor or adding new nodes to the palette.
To start customising your instance of Node-RED, you can either download the application locally or use IBM DevOps Services to edit and deploy your changes directly.
When you first ran this application you were presented with some options to secure the editor. To change those options,
you can set some environment variables from either the IBM Cloud console or the
The environment variables you can set are:
NODE_RED_USERNAME- the username to secure the editor with
NODE_RED_PASSWORD- the password to secure the editor with
NODE_RED_GUEST_USER- set to
trueto allow anonymous users to have read-only access to the editor
Saveand restart your application
cf set-env [APPLICATION_NAME] [ENV_VAR_NAME] [ENV_VAR_VALUE]
There is a growing collection of additional nodes that can be added to the Node-RED editor. You can search for available nodes on the Node-RED library.
To add a node to the editor you can either use the Palette Manager feature within the editor itself or manually edit the
package.jsonand add the required node package to the
dependenciessection. The format is:
x.x.xis the desired version number.
package.json is setup to grab the latest stable release of Node-RED.
To trigger an upgrade following a new release being made available:
NODE_MODULES_CACHEenvironment variable to
false. You can either do this on your application's IBM Cloud console page (Runtime -> Environment Variables), or by using the
cf set-env [APPLICATION_NAME] NODE_MODULES_CACHE false
cfcommand-line should be used:
cf restage [APPLICATION_NAME]
The page you are reading now is served as static content from the application. This can be replaced
with whatever content you want in the
In the file
bluemix-settings.js, delete the