MongoDB logo

MongoDB

Published December 2022
   •    Updated January 2026

Plugin details

MongoDB Atlas Data API Connector

Free

For everyone

1.8 stars   •   6 ratings
1.2K installs
This plugin does not collect or track your personal data.

Other actions

Platform

Web & Native mobile

Contributor details

Lowqode logo
Lowqode
Joined 2020   •   1 Plugin
View contributor profile

Instructions

Test Plugin/View Workflow
https://mongodbapi.bubbleapps.io

https://bubble.io/page?name=index&id=mongodbapi&tab=tabs-6&subtab=General

INSTRUCTIONS

Authentication 🔐

To get started, setup your Cloud MongoDB and create a cluster.

- https://cloud.mongodb.com
- https://www.mongodb.com/basics/clusters/mongodb-cluster-setup

Create a Data API Key and enter your secret key in the Bubble.io plugin section of your web app. Your secret is only revealed once in your Atlas dashboard.

- https://www.mongodb.com/docs/atlas/api/data-api/#1.-enable-the-data-api

Mutate Data 💽

Ensure you have the name for your cluster, database and collection.

You will need your cluster name to begin adding data and changing data. Ensure you have also created a database and collection to reference where you will be storing your data.  

- https://www.mongodb.com/basics/create-database

In Bubble you will need to form objects using a JSON plugin or embed data directly into JSON to successfully query your database.

- https://bubble.io/plugin/json-machine-pro--1612218687102x608200340967260200

- https://bubble.io/plugin/json-generator-1518304508555x976130829359513600

EXAMPLES COMING SOON


References

Query Operators
- https://www.mongodb.com/docs/manual/reference/operator/

Types

This plugin can be found under the following types:
Api   •   Action

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (1.8)

dev was lazy to write documentation
January 31st, 2024
if you dont want to do, just don't do it.
not really a working solution
November 22nd, 2023
Error and no documentation
July 21st, 2023
Similarly to the others, I get this error: {"error":"invalid session: error finding user for endpoint","error_code":"InvalidSession","link":"https://realm.mongodb.com/groups/638cd9ebe843e77dce52f5e8/apps/638cdaea66566d93dc818ac8/logs?co_id=64baece37c6cc9afe84d223d"} and also whitelisted all ips for testing purposes as Bubble uses dynamic ips, checked over all of the implementation, I dont really understand how the example app works but noone else's seems to. Would be a really good plugin if it's given the love it needs, but for now it seems a custom integration might be needed (pending this issue being solved)
Error - Help
July 20th, 2023
I got this error {"error":"invalid session: error finding user for endpoint","error_code":"InvalidSession","link":"https://realm.mongodb.com/groups/638cd9ebe843e77dce52f5e8/apps/638cdaea66566d93dc818ac8/logs?co_id=64b899f29cff517e26bb0893"}. I copied the workflow for displaying in a repeating group. Couldn't find a way to create my own MongoDB Atlas - Find Many. I have all the ips whitelisted.
Bad documentation.
April 28th, 2023
When trying to get this set up I followed the instructions and it still didnt work. There isnt a video or anything for an example workflow which is just unfortunate for new bubble users to use it. Truly frustrating.
The example workflow can be found on the demo page by clicking View Workflows. (plugin author)
April 30th, 2023
  •  
Lowqode
Bubble