Configuration to use MongoDB