mongodb url spring boot code example Example: connecting to mongo database in spring boot spring.data.mongodb.uri: mongodb://<hostInformation>/<DatabaseName>