Use this connection to communicate between MongoDB® and Minitab Connect.

Set up a new connection

Complete the following steps to set up a connection in Minitab Connect.
  1. From the Home screen, select the Add button under Tables.
  2. In Datasets, enter Mongo and select the connector from the results.
  3. Enter a Name that identifies the connection. Under Beacon, specify which beacon you want the connection to go through if you have multiple beacons. Usually, the default works best.
  4. Under Setup [1 of 2], enter a Hostname, Username, Password, and Port number for the connection.
  5. Enter the Database from which you want to pull data. Leave this field blank to select the database from a list on the next page. Then select Next.
  6. Select a Database if you did not specify one on the previous page. Then select Save .

After you save the connection, Connect displays options to import data into a new table. Start at step 4 of the following section for more information on importing data to create a table.

Create a table with data from a connection

Complete the following steps to import data from Mongo and create a new table in Connect.
  1. From the Home screen, select the Add button under Tables.
  2. In Datasets, enter Mongo and select the connector from the results.
  3. Under Connection, select the Mongo connection that you previously set up. If you have not previously set up a connection, select New Connection and follow the steps in the previous section.
  4. On the left panel, enter a Name that identifies the table and select a Folder to save the table.
  5. Select the Collection that contains the data. Then select Next.
  6. In Fields, enter text to filter the list. Then select the table fields that you want to import and select Next.
  7. Select Add Filter and select the field you want to filter. Next, define the filter. Select an expression and a value. For example, suppose you want a list of the restaurants that begin with the letter "C". Use the expression, Facility Type, Begins With, C. Select the button on the last selection box to open the SQL dialog box for more complicated filters.
  8. Select Save . If you go to the Prep Tool and select Run , Minitab Connect displays the imported data.
    Note

    If no data appears after you select Run, select Reset Config .

When you save the import, Connect creates a flow with the settings that you selected. For more information on how to schedule a flow and add more data processes to clean data, go to Overview of the Flow Tool .

Export a file

Complete the following steps to export data from a Minitab Connect table.
  1. Open the Outputs tab of the Flow Tool .
  2. Select the plus sign beside Export to add a new export.
  3. Under Export, select New Export. If you select One Time Download, Connect downloads the file to your computer and does not create an export.
  4. Enter a Name for the export.
  5. Under View, select a saved view of the table. If you select None, Connect exports all the data from the table. For more information on saved views, go to Example of creating a data view.
  6. Under Delivery, select Connection.
  7. Under Connection, select the connection that you previously set up.

You can specify the file type and file name along with other options. Select Save to add the export to the list of exports in the Outputs tab. Select Run to run the export.