Compatible with Fusion version: 4.0.0 through 5.12.0The MongoDB V1 connector ingests documents from a MongoDB database into Fusion for indexing and search. The connector works with MongoDB Atlas, MongoDB Community, or MongoDB Enterprise to crawl documents such as customer records, IoT logs, or session data from one or more collections, transforming any BSON documents into JSON for indexing. Cursor-based batching can be enabled for parallel processing to improve performance. The connector can also use MongoDB queries such as
{"status": "active"}
as filters to limit what data is ingested.
You can combine MongoDB content with other sources like Confluence, Salesforce, or MySQL to unify search with Fusion.
ImportantV1 deprecation and removal noticeStarting in Fusion 5.12.0, all V1 connectors are deprecated. This means they are no longer being actively developed and will be removed in Fusion 5.13.0.The replacement for this connector is in active development at this time and will be released at a future date.If you are using this connector, you must migrate to the replacement connector or a supported alternative before upgrading to Fusion 5.13.0. We recommend migrating to the replacement connector as soon as possible to avoid any disruption to your workflows.

Prerequisites
Perform these prerequisites to ensure the connector can reliably access, crawl, and index your data. Proper setup helps avoid configuration or permission errors, so use the following guidelines to keep your content available for discovery and search in Fusion. The user account must have read permissions for the database and collection and you need a MongoDB cluster or server instance with a valid MongoDB URI so Fusion can connect over the network. Before using the connector, test the connectivity for your database:- For Atlas use one of the following:
mongodb+srv:// USERNAME:PASSWORD@CLUSTER.mongodb.net
mongo "mongodb+srv://CLUSTER_NAME.mongodb.net/DATABASE_NAME" --username USERNAME --password PASSWORD
- If exposing through a service or proxy, use
mongo "mongodb://USERNAME:PASSWORD@HOST:PORT"
.
- Your documents must include a timestamp or version field such as
lastModified
,updatedAt
, ormodifiedDate
.- The format of the field should be ISO 8601 strings or BSON
Date
objects. - The field must be a top-level field or accessible through dot notation.
- The format of the field should be ISO 8601 strings or BSON
Authentication
Setting up the correct authentication according to your organization’s data governance policies helps keep sensitive data secure while allowing authorized indexing. The connector uses the MongoDB URI with embedded credentials or specified properties. The basic requirements are listed here with additional guidance in the instructions below. Atlas:- Create a user account in Database Access in the Atlas dashboard with role-based access such as
read
orreadWrite
. - Use a username and password plus SRV.
- Ensure IP Whitelisting is configured to allow Fusion’s IP.
- Use a username and password with role-based access such as
read
orreadWrite
.
- If secured connection certificates are required in your MongoDB deployment enable with the URI option
ssl=true
.
Create a MongoDB user account for Fusion
For MongoDB Atlas:- Go to MongoDB and navigate to Database Access in your project.
- Click Add New Database User and set:
- Username and password.
- Database privileges for
read
orreadWrite
on your target database.
- Add Fusion’s IP under Network Access > IP Whitelist.
- Note the MongoDB URI under Connect > Drivers.
mongo
shell or your admin tool:
Prepare the MongoDB URI with authentication credentials
If your password includes special characters, URL-encode the password:- Atlas (SRV URI):
mongodb+srv://FUSION_USERNAME:FUSION@CLUSTER.mongodb.net/DATABASE_NAME
- Self-hosted:
mongodb://FUSION_USERNAME:FUSION@localhost:27017/DATABASE_NAME
mongodb://USERNAME:PASSWORD@HOST:27017/?authSource=admin&ssl=true
mongodb+srv://USERNAME:PASSWORD@CLUSTER.mongodb.net/?retryWrites=true&w=majority
.
To verify access with your credentials, use mongo
CLI or a database GUI:
mongo "mongodb+srv://USERNAME:FUSION@CLUSTER.mongodb.net/DATABASE_NAME"
Common authentication issues
authentication failed
: The wrong username, password, and/or role was used, so verify the credentials are accurate.IP not allowed
in Atlas: The IP is not whitelisted. Add the Fusion server IP.TLS required
: MongoDB is enforcing SSL, requiringssl=true
with the URI.authSource missing
: The specified authentication database was not specified. AddauthSource=admin
to the URI.
Configuration
When entering configuration values in the UI, use unescaped characters, such as
\t
for the tab character. When entering configuration values in the API, use escaped characters, such as \\t
for the tab character.