MongoDB

Get started with the MongoDB source!

Get your MongoDB credentials

To get your MongoDB credentials, you can go ahead and head here to learn where to find them.

Enable the source

The first thing you need to do is select the flow you want to enable your MongoDB source in.

Once you have selected what flow you want to enable the MongoDB source in, you should go ahead and search for the MongoDB tap in the Sources tab of hotglue.

Now that you've found the MongoDB tap, go ahead and click on the MongoDB card.

Here, you should plug in your MongoDB credentials. If you don't know where to get those, you can learn how to find them here.

Once you've filled in the credentials, go ahead and click the Save & Continue button.

Configure the field mapping

Now that you've connected your MongoDB, it is time to configure your field mapping.

The first thing you need to do is go ahead and click on the Mongo card to configure the field mapping.

Now you need to go in and select the icon corresponding to the Customize field map option.

Once here, you can go and select what you want to bring in from the databse you've connected. For this example, I am going to select the user_data and users table by clicking the corresponding gear icon.

Once you've clicked the gear icon, you will have the opportunity to select the fields you want to pull from that table. I am going to use the select all button above the Available column.

Now that I have selected the fields I wanted, I will use the arrow in the middle to move those objects over to the Chosen column.

Once you've selected the fields you want, click the Confirm button.

You can repeat the process above for all the tables you want! Once done, go ahead and click the Save button. You have now configured your field mapping.

Get your MongoDB Credentials

The first thing you will need to do get your MongoDB credentials to make an MongoDB account. You can make a free account (or sign up for a paid account) at this link. If you already have an account, you can log in at this link.

Personal API Key

First, we are going to go through how to find your personal API key.

Once you have logged in to MongoDB, you will be shown the home page of the MongoDB platform.

Now go ahead and click on the Database -> Clustor.

Click on Connect button.

Click Connect with the MangoDB Shell.

You should find the host and the username.

Select Database from left side navigation.

In Collections tab database name and information is given.

Select Database Access from left-side navigation. Click on Edit button.

Click on Edit Password.

You can get the password by clicking Autogenerate Secure Password button. Click on Copy button to copy the password.

You got all the information Host, Username, password, database name and Auth Database that hotglue needs to connect to the MongoDB.


Did this page help you?