Creating an Account
1
Start adding an account
Go to Privileged Access Management → Accounts and click Add Account.
2
3
Enter connection details
The connection string supports both
mongodb:// and mongodb+srv:// URIs. Do not include credentials or database name in the URI — use the separate fields instead.Example: mongodb://mongo.example.com:27017 or mongodb+srv://cluster.example.com4
Enter credentials
5
Save
Click Create.
Connecting
The CLI starts a local proxy that you connect to with your preferred MongoDB client.mongosh or any MongoDB client:
--port <port>— use a specific local port (otherwise one is assigned automatically)--reason <reason>— provide an access reason (if required by template)
Next Steps
PostgreSQL Accounts
Add PostgreSQL database accounts.
Sessions
View and manage sessions.