How to connect idx project to mongodb?

Hello, I am working on a project that needs to connect to my mongodb database but I cannot seem to figure out how to go about it, especially with acquiring an IP address to add to my mongodb network access. I would appreciate it if anyone could help me figure it out. Thank you

As am Using Online Free Version of Cloud Mongodb for Testing and Development

Create Cluster and DB and Connect with Remote Setup

Yes, I am trying to connect with remote setup but it is not working. I was wondering if maybe I will have to modify my dev.nix file or make any other updates/changes.

Copy connection url from their

I finally got it to work, Thanks

It’s working try to copy the mongo connection url