External MongoDB

restdb.io supports external MongoDB database connections. This lets you host your own MongoDB instance or connect to cloud providers like MongoDB Atlas or Mlab.

Setting the connection string

Navigate to your database settings in restdb.io and select the "Manage" tab. Paste the connection string (as shown below) into the connection string field in restdb.io.


IP Whitelist

To allow a connection from restdb.io, you must add the database IP address to your MongoDB providers IP Whitelist. Copy the IP address from the restdb.io settings page show above and add it to the IP Whitelist.