Spaces:
Running
Running
Set Up an Online MongoDB Database
Create an account
- Open a new tab and go to https://account.mongodb.com/account/register to create an account.
Create a project
Build a database
Choose your cloud environment
Name your cluster
Database credentials
Select environment
Complete database configuration
Go to your database
Network access
Add IP adress
Allow access
Get your connection string
Select
Database
in the side menuSelect
Connect
:Select the first option (
Drivers
)Copy the
connection string
:Make sure to replace
<password>
with the database password you created in the "database credentials" section above. Do not forget to remove the<
>
around the password. Also remove&w=majority
at the end of the connection string.example:
mongodb+srv://fuegovic:1Gr8Banana@render-librechat.fgycwpi.mongo.net/?retryWrites=true
⚠️ Note: If you're having trouble, before creating a new issue, please search for similar ones on our #issues thread on our discord or our troubleshooting discussion on our Discussions page. If you don't find a relevant issue, feel free to create a new one and provide as much detail as possible.