A connection string is a URI that tells a client how to reach a MongoDB deployment. Atlas provides strings for connecting through tools such as mongosh or a database driver. section 2.5 section 3.5
Atlas SRV strings begin with mongodb+srv://. They simplify the address and let MongoDB discover servers in a replica set or sharded cluster automatically. Provide credentials and any required options when connecting. section 3.2.1
mongosh "mongodb+srv://YOUR_CLUSTER.YOUR_HASH.mongodb.net/" \ --apiVersion API_VERSION --username USERNAME –-password PASSWD
Use this mongosh command template with an Atlas SRV connection string, API version, and username. section 3.2.1






