Add a MongoDB DataFlow connection

You can add a connection to a MongoDB database using ThoughtSpot DataFlow.

Follow these steps:

  1. Click Connections in the top navigation bar.

  2. In the Connections interface, click Add connection in the top right corner.

  3. In the Create Connection interface, select the Connection type.

  4. After you select the MongoDB Connection type, the rest of the connection properties appear.

    See Connection properties for details, defaults, and examples.

    Connection name

    Name your connection.

    Connection type

    Choose the MongoDB connection type.


    Specify the hostname or the IP address of the MongoDB system.


    Specify the port associated to the MongoDB system.


    Specify the user id that will be used to connect to the MongoDB system. This user should have necessary privileges to access the data in the databases.


    Specify the password for the User.


    Collection of information that is organized so that it can be easily accessed, managed and updated

    Flatten arrays

    The FlattenArrays property can be used to flatten the elements of nested arrays into columns of their own. Set FlattenArrays to the number of elements you want to return from nested arrays.

    Row scan depth

    The maximum number of rows to scan to look for the columns available in a table. Set this property to gain more control over how the provider applies data types to collections.

    JDBC options

    Specify the options associated with the JDBC URL.

  5. Click Create connection.

Related information

Was this page helpful?