title: How can i integrate RASA kit working with NodeJS
body: <p>I have made A chatbot as a webpage function. the database i have used in the background is the mongodb. but due to intelligence i want to add RASA instead of mongodb. </p>
  
  <p>I have understood the desgining of the rasa files but what i didn't understand is the integration of rasa with the nodejs. </p>
  
  <pre><code>var MongoClient = require('mongodb').MongoClient;
  var url = "mongodb://localhost:27017/Chatbot_Project";
  var bodyParse = require('body-parser');
  var urlencodedParser = bodyParse.urlencoded({
      extended: false
  });
  
  MongoClient.connect(url, function(err, client) {
      if (err) throw err;
      db = client.db("Chatbot_Project");
      var data = db.collection('Questions').find();
      data.forEach(function(results, err) {
          if (err) {
              console.log(err);
          }
          var string = JSON.stringify(results);
          global.str = string.substring(string.indexOf("Apply") + 9, string.indexOf("Where To Apply") - 3);
      });
  });
  </code></pre>
  
  <p>this is what i have done to integrade mongodb with node. but what should i do to integrate 'rasa botkit' with node. </p>