Configure for MongoDB