mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
3.4 KiB
3.4 KiB
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
Databasein the side menu -
Select
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=majorityat the end of the connection string. -
example:
mongodb+srv://fuegovic:1Gr8Banana@render-librechat.fgycwpi.mongo.net/?retryWrites=true