Skip to main content

What you need

Before adding a connection, make sure you have one of these:
  • a MongoDB Atlas connection string
  • a local MongoDB server
  • a self-hosted MongoDB deployment URI

Add the connection

  1. Open Spanna.
  2. Click the add connection action in the left sidebar.
  3. Paste your MongoDB connection string.
  4. Name the connection clearly so it is easy to identify later.
  5. Save the connection.

Verify the connection

After saving:
  • expand the connection in the sidebar
  • open a database
  • open a collection
  • confirm documents load

If you plan to use Cloud Sync

If you sign in with a free account, saved connections can sync between supported clients.

Common problems

If the connection does not open:
  • verify username and password
  • check network access rules on Atlas
  • check SRV DNS resolution if you use mongodb+srv