Overview
Stigg’s integration with MongoDB allows you to export your product catalog, customer, and subscription data directly to your MongoDB instance for custom reporting and analysis.Stigg’s native data export integrations are included in the Scale plan, and are also available as an optional add-on to the Growth plan. See Stigg’s pricing for more details.
View the full entity schema
See every table and column exported to your destination, organized by entity group.
Setting up the integration
Prerequisites
You’ll need a MongoDB instance (self-hosted or MongoDB Atlas) with a database and a user that has read/write access to that database.1
Locate your connection details
Using the MongoDB CLI: connect as an admin user and run:Using MongoDB Atlas: open your dashboard, go to the Database tab, click Connect, then Drivers. Copy the host identifier from the connection string — the part after the
@ symbol, e.g. some-cluster.some-characters.mongodb.net.2
Create a writer user
Using the MongoDB CLI:Using MongoDB Atlas: go to Security > Database Access > Add New Database User, select Password authentication, and grant the
readWrite@<database> privilege. Leave the Collection field as *.3
Allow network access
If your database enforces IP whitelisting, add Stigg’s static IP to your allow list:Using the Atlas dashboard: go to Security > Network Access > Add IP Address, enter the static IP, and add an optional comment.
For private or self-hosted deployments, contact Stigg support for the appropriate IP.Using the Atlas CLI:
4
Connect Stigg with MongoDB
In Stigg, navigate to Integrations > Apps > MongoDB.Enter the following information in the connection form:
Click Test & connect.
5
Select entities to export
After entering your connection details, expand the Entities to export section to choose which entity groups to include in the sync. All groups are selected by default.See Exported entities for a description of each group.
