Creating a new Cosmos DB account

Navigate to the Azure portal and create a new Cosmos DB account. You would need to provide the following:

  • A valid subscription and a resource group.
  • A valid account name. This will create an endpoint at <<accountname>>.document.azure.com.
  • An API—set this as SQL. This will ensure that you can write queries in SQL. Feel free to try out other APIs.