Apache NiFi connection to MongoDB


I would like to know how to find the URL to connect Apache NiFi to MongoDB.
I am very new to Mongo.
I have the below mentioned masked string with which I connect to compass


How do I find the string to connect to NiFi from compass and ingest the data from there?

Thank you for your help