title: how to connect or configure webstorm with mongo
body: <p>I'm testing a simple script inside Webstorm, following the instructions in <a href="https://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/" rel="nofollow">"Write Scripts for the Mongo Shell"</a>.</p>
  
  <p>But it errors here:</p>
  
  <pre><code>conn = new Mongo()
             ^
  ReferenceError: Mongo is not defined
  </code></pre>
  
  <p>Now, I installed the mongo plugin, and went to "Other Settings" -> "Mongo Servers" and I put the path to the mongo executable.  I also set up the localhost server, and restarted Webstorm.  But I still get this error.</p>
  
  <p>What else do I need to do?</p>
  
  <p>Thanks!</p>