Cosmos DB

Integration published by Jovo | 2,550 downloads

Store user data in a Cosmos DB database on Microsoft Azure

Azure CosmosDB Database Integration

Learn how to store user specific data of your Alexa Skills and Google Actions to Cosmos DB.

Tutorial: Deploy to Azure


The Cosmos DB integration allows you to store user session data in the NoSQL service running on Azure using their MongoDB API. This integration is especially convenient if you're running your voice app on Azure Functions. You can find the official documentation about Cosmos DB here:

Learn more about hosting your application on Azure Functions.


Download the package like this:

Cosmos DB can be enabled in the src/app.js file like this:

Inside your config.js file you have to set your primary connection string and your database name. You can also optionally set the collection name (default is UserData):

CosmosDB Changelog

Current version might be higher than the latest changes displayed below because of updates of dependencies.

3.0.11 (2020-04-06)

  • Updated Typescript to 3.8.x
  • Updated Prettier to 2.x

Committers: 2


Find the 2.x changelog here.

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.