Credentials
1. Get Your Connection URI
Local MongoDB
MongoDB Atlas (Cloud)
- Go to https://cloud.mongodb.com
- Select your cluster -> Connect -> Drivers
- Copy the connection string:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set up a MongoDB connection for the MongoDB VFS.
# Default local instance
MONGODB_URI=mongodb://localhost:27017
mongodb+srv://<username>:<password>@cluster0.xxxxx.mongodb.net/
MONGODB_URI=mongodb://username:password@host:27017/?authSource=admin
# .env.development
MONGODB_URI=mongodb+srv://user:pass@cluster0.xxxxx.mongodb.net/