The easiest way to authenticate to a mongo database is with a MongoDB username and password.
All the connection information needed to connect must be in a ConnectionString that should have the following format:
mongodb+srv://<username>:<password>@<hostname>
If you use MongoDB Atlas, the ConnectionString for your deployment is provided when you click the Connect button in the Atlas UI.
Simply copy paste this connection string in your connector, add the database name and enable the connector. The Connector should connect by itself.