MongoDB extract data

Hi I am using node red and MongoDB (node-red-contrib-mongodb3) to obtain data store it in mongoDB and create charts with the data obtained. I could store the data in MongoDB but I am unable to extract the data from MongoDB in order to create the charts. I have only see tutorials with a local DB but not with a no local DB. Any ideas of how I could do that using the node node-red-contrib-mongodb3.