MongoDB connection

You can create a connection asset for MongoDB in a project or in a catalog. If you have a Watson Machine Learning service instance, you can promote the connection asset from a project to a deployment space. 

MongoDB is a distributed database that stores data in JSON-like documents.

Supported tools

These tools support MongoDB connections:

  • Data Refinery


  • Source connections only:
    • For Data Refinery, you can use this connection only as a source. You cannot use this connection as a target connection or as a target connected data asset. 
  • MongoDB Query Language (MQL) is not supported. 

Supported editions and versions

MongoDB editions

  • MongoDB Community
  • IBM Cloud Databases for MongoDB
  • MongoDB Atlas

MongoDB versions

  • MongoDB 4.0, 4.2
  • MongoDB 3.0, 3.2, 3.4, 3.6
  • MongoDB 2.2, 2.4, 2.6

MongoDB setup

MongoDB installation

Supported encryption

(Optional) SSL certificate or SSL certificate file


Username and password

Watson Studio and Watson Knowledge Catalog plans

The MongoDB connection is available on all Watson Studio and Watson Knowledge Catalog plans.

Learn more