Squadbase logo

Azure Cosmos DB

Steps and required credentials to connect Azure Cosmos DB to Squadbase

Required Information

FieldDescription
Cosmos DB EndpointThe Cosmos DB account endpoint URL (e.g., https://<account>.documents.azure.com:443/).
Account KeyThe Cosmos DB account key (primary or secondary). Use a read-only key when only querying data.
DatabaseThe name of the Cosmos DB database to connect to.

How to Obtain Each Value

Cosmos DB Endpoint / Account Key

Both values are found under SettingsKeys in your Cosmos DB account.

  1. Log in to the Azure Portal
  2. Navigate to your Cosmos DB account
  3. Select Keys under Settings in the left sidebar
  4. Copy the URI as the Cosmos DB Endpoint
  5. Open the Read-only Keys tab and copy the PRIMARY KEY as the Account Key (use the Read-write Keys tab if write access is needed)

Azure Cosmos DB Keys blade showing URI and key fields

Database

The database name is visible in the Data Explorer of your Cosmos DB account in the Azure Portal.

  1. Navigate to your Cosmos DB account in the Azure Portal
  2. Select Data Explorer from the left sidebar
  3. The database names are listed in the left panel