Cosmos DB Connector
Documentation
Version: 2
Documentation

Using Cosmos DB Connector in ZappySys Data Gateway


To use Cosmos DB Connector together with ZappySys Data Gateway you will have to download & install ODBC PowerPack (ZappySys Data Gateway is part of ODBC PowerPack). There are two versions of ODBC PowerPack to download: TRIAL and FULL.

Download ODBC PowerPack

Download TRIAL VERSION  if you are trying it out (30-days fully functional product).

or

Download FULL VERSION  if you already have purchased the product.

Install ODBC PowerPack

By installing ODBC PowerPack you will install ZappySys Data Gateway and drivers, together with ZappySys API Driver which contains Cosmos DB Connector. Installing ODBC PowerPack is pretty straightforward. Installing a TYPICAL version will install all components needed for Cosmos DB Connector to work together with ZappySys Data Gateway.

ZappySys Data Gateway

ZappySys Data Gateway (ZSDG) is a small server based on SQL Server TDS protocol. ZSDG can be used for:

  1. If your client application does not support ODBC or solution not works as expected, you can connect to ZSDG as you would connect to a SQL Server and then retrieve the table/view you need.
  2. As ODBC bridge.
  3. As JDBC bridge.
  4. A central point where external machines (and local if required) need to connect to a created data source.

You can watch this video about ZSDG. In the video the example of API Driver for OData Connector but you can choose Cosmos DB Connector instead. Also the next video shows example with JSON Driver but principles stays the same when working with ZappySys API Driver which is needed to use Cosmos DB Connector.

Video Tutorial - Using API Driver in Gateway

Below Video covers how to use API Driver in Data Gateway to consume data from Cosmos DB. For demo purpose it will show OData API but you can choose Cosmos DB connector instead. Also for demo we used Data Gateway Connection inside SQL Server but you can connect to Data Gateway from any app which can talk to SQL Server (like SSRS, JAVA, C# ...).

This video covers following and more so watch carefully. After watching this video follow the steps described in this article.

  • How to download / install required driver for Cosmos DB integration
  • How to configure connection for Cosmos DB
  • Features about Cosmos DB Driver (Authentication / Query Language / Examples / Driver UI)
  • Using Cosmos DB Connector
  • Load Cosmos DB data in SQL Server

Key features of the ZappySys API Driver include:

The API ODBC driver facilitates the reading and writing of data from numerous popular online services (refer to the complete list here) using familiar SQL language without learning complexity of REST API calls. The driver allows querying nested structure and output as a flat table. You can also create your own ODBC / Data Gateway API connector file and use it with this driver.

  1. Intuitive Configuration: The interface is designed to be user-friendly, enabling users to easily set up the specific API endpoints within Cosmos DB without requiring extensive technical expertise or programming knowledge.

  2. Customizable Endpoint Setup: Users can conveniently configure the API endpoint settings, including the HTTP request method, endpoint URL, and any necessary parameters, to precisely target the desired data within Cosmos DB.

  3. Data Manipulation Capabilities: The ZappySys API Driver allows for seamless data retrieval and writing, enabling users to fetch data from Cosmos DB and perform various data manipulation operations as needed, all through an intuitive and straightforward interface.

  4. Secure Authentication Integration: The driver provides secure authentication integration, allowing users to securely connect to the Cosmos DB API by inputting the necessary authentication credentials, such as API tokens or other authentication keys.

  5. Error Handling Support: The interface is equipped with comprehensive error handling support, ensuring that any errors or exceptions encountered during the data retrieval or writing process are efficiently managed and appropriately communicated to users for prompt resolution.

  6. Data Visualization and Reporting: The ZappySys API Driver facilitates the seamless processing and presentation of the retrieved data from Cosmos DB, enabling users to generate comprehensive reports and visualizations for further analysis and decision-making purposes.

Overall, the ZappySys API Driver serves as a powerful tool for streamlining the integration of applications with Cosmos DB, providing users with a convenient and efficient way to access and manage data, all through a user-friendly and intuitive interface.

Apps / Tools Integration

SSIS Connect Cosmos DB in SSIS
SQL Server Connect Cosmos DB in SQL Server
Power BI Connect Cosmos DB in Power BI
SSRS Connect Cosmos DB in SSRS
Informatica Connect Cosmos DB in Informatica
MS Access Connect Cosmos DB in MS Access
MS Excel Connect Cosmos DB in MS Excel
SSAS Connect Cosmos DB in SSAS
Tableau Connect Cosmos DB in Tableau
SAP Crystal Reports Connect Cosmos DB in SAP Crystal Reports
Azure Data Factory (Pipeline) Connect Cosmos DB in Azure Data Factory (Pipeline)
Azure Data Factory (SSIS) Connect Cosmos DB in Azure Data Factory (SSIS)
Talend Studio Connect Cosmos DB in Talend Studio
UiPath Connect Cosmos DB in UiPath
PowerShell Connect Cosmos DB in PowerShell
ODBC Connect Cosmos DB in ODBC

Languages Integration

C# Connect Cosmos DB in C#
Python Connect Cosmos DB in Python
JAVA Connect Cosmos DB in JAVA

Conclusion

Once you have installed ODBC PowerPack you are ready to use Cosmos DB Connector. To see how to start using it check the next section -- Read from Cosmos DB