In this recipe, you will learn how to import one of the most famous databases in the Pentaho community, the Foodmart database, into MongoDB. The Foodmart database has been used to demonstrate the diverse features available in Pentaho. The sample data for MongoDB is available in the Pentaho EE version, and it is possible use the Pentaho MongoDB native connection to perform an analysis on top of the database.
To get ready for this recipe, you will need Pentaho EE installed, and make sure that you have the MongoDB server running with the data from the previous chapters.
Let's import the sample using the command line. Perform the following steps: