-
Sign in or create an account for MongoDB.
-
Create a database, choosing the "shared" option is recommended.
-
Make a user, you will need these credentials later.
-
Add your own, or every IP address to the network access.
-
Once the cluster has been deployed, click the connect button on it.
-
Choose the "Connect your application" option.
-
Now copy the URL.
Be sure to replace exampleUser
and <password>
with the values from step 3.
For instance, in this example the final URL would be:
mongodb+srv://exampleUser:[email protected]/?retryWrites=true&w=majority
Now you can paste the URL into config.json
, done!