OPTIONAL: Adding Bracket as a user
- Go to
Add New User
- Add a user with username
bracketand an auto-generated password (blue box below). In the permissions section, select
Read and write to any databasein
Built-in rolesor define a custom role that allows read and write permission to the specific databases you want to connect with Bracket (red box below).
- If you assign a custom role for Bracket, at the minimum it must include read and/or write access for the specific collection that is being synced, depending on the direction of your sync.
- Copy the username and password, which we’ll use in the next step.
Getting connection string URI
- Go to the
Database Deploymentspage in MongoDB by clicking
Databaseon the left sidebar (see below).
- Next to the name of the cluster you would like to connect with Bracket, click
- Then click
Connect your application.
- Copy the connection string provided, then replace
<password>with the username and password created for Bracket in the previous step (or with the username and password for an existing MongoDB user). It should have the same format as this:
Enter the full URI in the webapp at app.usebracket.com.
Whitelisting 0.0.0.0/0 IP address
Navigate to “Network Access” on the lefthand sidebar.
Click “Add IP Address”.
In the “Whitelist Entry” field, type in “0.0.0.0/0” The comment field is optional. Click “Confirm”.
Note that whitelisting 0.0.0.0/0 as an IP address makes the database accessible from anywhere, but does not change the fact that access still requires a username and password generated by your database administrator. Alternatively, Bracket can provide a static IP address under the Enterprise plan.