Azure Cosmos DB
Prefer guided AI setup?
Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.
Overview
Connect your Azure Cosmos DB to Nirvai to automate globally distributed NoSQL database operations.
Supported Authentication Methods
- API Key (Master Key)
Prerequisites
- An Azure account
- An Azure Cosmos DB account
- A database
Setup Instructions
API Key Authentication
- In Nirvai, go to Credentials > Add Credential
- Select Azure Cosmos DB
- Fill in the required fields:
- Account Name: Your Cosmos DB account name
- Master Key: Your primary or secondary key
- Database Name: The database to connect to
- Click Save
Finding Your Credentials
- Go to Azure Portal
- Navigate to your Cosmos DB account
- Go to Keys
- Copy the Primary Key and URI
What You Can Do
- Query documents
- Create and delete items
- Manage containers
- Execute stored procedures
- Read change feeds
Related Resources
Adapted from Microsoft documentation for Nirvai platform
Next Steps
Got your credential? Connect it to an agent
Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.