This guide walks you through configuring MongoDB as a destination for your Webflow Analyze and Optimize data export.
34.69.83.207/32 during the following steps. It will be required in Step 3.MongoDB CLI
Connect to your MongoDB node using the MongoDB CLI as an admin.
Execute the following query:
Make a note of the host identifiers.
MongoDB Atlas
mongodb+srv and the identifier is the URI after the @. E.g., some-cluster.some-characters.mongodb.net.See CLI or Atlas instructions below depending on your MongoDB deployment type.
MongoDB CLI
Connect to your MongoDB node using the MongoDB CLI as an admin.
Execute the following script (with a username and password) to create a new user. Replace database with the name of the database you’d like to load data into.
MongoDB Atlas
username and password for the new user.readWrite@<database> (with the name of the database you’d like to load data into). You can leave the Collection field blank (*).If your MongoDB instance enforces IP Access restrictions, you’ll need to allow access to a static IP.
For self-hosted MongoDB deployments
IP allowlisting should be configured at the network or firewall level (e.g., using cloud provider security groups, iptables, or other firewall tools). Please consult your network administrator or your hosting provider’s documentation.
Network allowlisting
Webflow Static IP: 34.69.83.207/32
MongoDB Atlas CLI
If you manage your Atlas project with the Atlas CLI, execute the following command to add the static IP to your project’s IP access list. You may need to append /32 to the IP address to specify it in CIDR notation.
MongoDB Atlas
Use the host name, port (unless using Atlas, in which case is not needed), and database name (as noted in Step 1) and the username and password (as configured in Step 2) to complete the connection.
readWrite on the target databaseatlas accessLists create (if using Atlas CLI for IP allowlisting)The connection uses a dedicated MongoDB user with readWrite role scoped to the target database. Network access can be restricted to the static egress IP.