Connecting to db in MongoDB atlas through desktop app and mobile app (android, Java)

First create Two users

Username same as database name
User should provide readWrite preimssion

Go to collection on Altas

Press on + icon and create database same name of username created