Set up your development environment to use Kusto client libraries

Applies to: ✅ Azure Data Explorer

Learn how to set up your environment to use Kusto client libraries. You can use these libraries to create apps that connect with a cluster and run queries or ingest data.

In this article, you learn how to install client library packages for your preferred language.

Prerequisites

Select the prerequisites for the programming language used to create your app.

Note

Kusto client libraries are compatible with JavaScript and TypeScript. To convert TypeScript examples to JavaScript, simply remove the type annotations used for variables, parameters, and return values.

One or more of the following .NET SDK frameworks:

  • .NET SDK 5.0 or later
  • .NET Core 2.1 or later
  • .NET Standard 2.1 or later
  • .NET Framework 4.7.2 or later

Verify installation: In a command shell, run dotnet sdk check to check that the versions installed meet the minimum requirements.

Install the package

This section walks you through installing the Kusto client library in your environment.

The following table lists the client libraries and the corresponding package names.

Library Name Description
Kusto Data library Provides a client for connecting to clusters. Use the client library to query data or run management commands.
Kusto Ingest library Provides a client for ingesting data into clusters. For more information, see Kusto Ingest library overview into your cluster.

Add the Kusto client libraries for your preferred language to your project, or use the package manager appropriate for your language to install the client libraries.

dotnet add package Microsoft.Azure.Kusto.Data --version 11.2.2
dotnet add package Microsoft.Azure.Kusto.Ingest --version 11.2.2

The Kusto SDKs contain quick start sample applications. These applications showcase how to authenticate, administer, query, and ingest data using the Kusto client libraries. You can use them as a starting point for your own application by modifying the code or incorporating specific sections into your project.

Learn how to create apps that use client libraries

The following articles walk you through creating apps that use the Kusto client libraries.