mLab is a Database as a Service company that provides you cloud MongoDB instance hosted on different providers such as AWS, Google Cloud, Microsoft Azure. You can use mLab for your MongoDB provider and link your db to API Plug with the instructions below.
After logging into your mLab account if you don’t have you need to create a new MongoDB deployment like below.
You can select your instance from different providers and at different sizes according to your needs.
Then open database details page by clicking on your deployments name at your dashboard.
If you don’t have any database users yet create one like below.
Make sure that you have already created your collections or imported from your existing JSON files with a MongoDB client such as MongoChef before connecting to API Plug.
Then on your database details page copy the provided URL for your deployment.(YYYYYY will be different in your settings and ZZZZZ will be your db port number)
Login to your API Plug panel Data page and click to “Link Your DB” button. Then you need to fill details like below;
Thats all, then you can click to “Save & Connect to DB” button to continue generation of your API connected to mLab MongoDB deployment.
If you are ready click here to generate your REST API‘s with API Plug now!