To connect to MongoDB Realm over the wire protocol, you must construct a MongoDB connection string that includes credentials for an application user and an application-specific appName query parameter . You must URL encode connection strings before you can use them to connect to MongoDB Realm.