How to set up MongoDB Atlas to work with xConnect


Description

There are two alternative ways to make MongoDB Atlas work with xConnect.

Solution

Note: For both of these ways it is necessary to use & instead of & to separate parameters in the xConnect connection string. For example:

instead of:

mongodb+srv://sa:12345@cluster0-test.mongodb.net/test?retryWrites=true&w=majority

use the following:

mongodb+srv://sa:12345@cluster0-test.mongodb.net/test?retryWrites=true&w=majority