Setting up CosmosDB
1. Add integration
Select CosmosDB from the integrations page.
2. Configure settings
Fill out the form with the following settings:| Setting | Required | Description |
|---|---|---|
| Name | ✓ | Name that will be displayed to users when selecting this integration in Superblocks |
| Host | ✓ | Hostname or IP address to connect to |
| Port | ✓ | Port to use when connecting to CosmosDB |
| Database ID | ✓ | ID of database to connect to |
| Master Key | ✓ | The Master Key to access the database |
3. Test and save
Click Test Connection to check that Superblocks can connect to the data source. After connecting successfully, click Create to save the integration.4. Set data tags
Optionally, configure different data tags for separate development environments.Creating CosmosDB steps
When using CosmosDB steps, there are 2 options:SQL queries
Write SQL queries to interact with your CosmosDB instance directly.Single object actions
Use single object actions to perform CRUD actions on a single object. Pass in an object of data in the Item Body. Actions supported include:- Create a single object
- Read a single object
- Upsert a single object
- Replace a single object
- Delete a single object

