SyncStudio
Documentation menu

Connect MongoDB

Collections as tables, including Atlas. How to connect MongoDB to SyncStudio, what to enter, and what you can import into Google Sheets™.

  • Database
  • Credentials
  • Choose collections
  • Connection links

Before you start

  • Open a spreadsheet in Google Sheets and start SyncStudio from Extensions → SyncStudio → Open SyncStudio. The first-import guide covers installing it.
  • Use credentials made for reading only: a read-only database user, or an API key with read scopes. SyncStudio never needs to change anything in MongoDB to import from it.
  • Only find and list commands are sent, over TLS. Nested fields become columns such as address.city. Use a user with the read role.

Connect it

  1. Add the source In the sidebar, press Add a source and choose MongoDB. You can type its name in the search box.
  2. Fill in the form The form asks for:
    FieldWhat to enter
    Connection string · kept secretIn Atlas: Connect → Drivers. Put the password of a read-only database user in it. For example mongodb+srv://reader:password@cluster0.abcde.mongodb.net.
    DatabaseFor example shop.
    Client (optional)If you work for several clients: a label to filter imports by.
  3. Test and save Give the connection a name your team will recognise. SyncStudio tests it before saving it; if the test fails, the message says what MongoDB answered.
  4. Or send a link If someone else holds the credentials, press Send this link to whoever has the details. The link works once, for 7 days, and shows them only this form.

Credentials are encrypted before they are stored, and no part of SyncStudio shows them again. To change them, edit the connection and enter them anew. See Connecting a source.

Next steps