In addition to the Azure Cosmos DB web service, Microsoft provides a downloadable version of Cosmos DB that can be run locally.


Click here for details on how to connect to a local instance of Cosmos DB with the SQL API (previously known as DocumentDB API).


Click here for details on how to connect to an Azure instance.