You are on page 1of 2

How

to read value from Cloudant NoSQLDB in Node-RED, IBM Bluemix?



Input: A document
Output: A value in the document

1) Drag & drop Inject node, Cloudant node, Function node & debug node


2) Wire & configure the nodes as shown below:

Inject node configuration:



Cloudant node configuration:




Function node configuration:
Output from Cloudant node (which is an array) is converted to object and value is read by
accessing that object.



Debug node configuration:



This will help you to read value from Cloudant NoSQLDB in Node-RED.