Nifi with MongoDB

Hello, so i want to connect nifi set up on a virtual machine to mongoDB server deployed on another virtual machine. So the idea is for nifi to get a csv file then transform it into json and using the putmongo processor insert the documents into the mongoDB database on the server. But in the processor’s properties i need the mongoDB URI (which is on the 2nd virtual machine) so i can’t figure out how to get that?