Skip to main content

Credentials

1. Get Your Connection URI

Local MongoDB

MongoDB Atlas (Cloud)

  1. Go to https://cloud.mongodb.com
  2. Select your cluster -> Connect -> Drivers
  3. Copy the connection string:

Self-hosted with Authentication

2. Set Environment Variables

For Python configuration, see the Python MongoDB Setup guide.