MongoDB is one of the most popular NoSQL databases. You need to create a MongoDB database and collection and generate the access keys.
Open your Azure portal and create a new MongoDB instance. Refer to the following screenshot for reference:
Click on the Create button and a new MongoDB API will be created. Next, we need to connect our Node.js app with MongoDB API of Cosmos DB.