> For the complete documentation index, see [llms.txt](https://docs.mindnetwork.xyz/mind-lake-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindnetwork.xyz/mind-lake-sdk/get-started.md).

# Get started

The TypeScript/Python SDK enables developers to execute SQL statements freely and perform encryption and decryption operations on specific data.

## Installation

{% tabs %}
{% tab title="TypeScript" %}
Install with package:

* npm: `npm install mind-lake-sdk`&#x20;
* yarn: `yarn add mind-lake-sdk`

Install from source:

* [`https://github.com/mind-network/mind-lake-sdk-typescript`](https://github.com/mind-network/mind-lake-sdk-typescript)
  {% endtab %}

{% tab title="Python" %}
Install with package:

`pip install mindlakesdk`

Install from source:

* <https://github.com/mind-network/mind-lake-sdk-python>
  {% endtab %}
  {% endtabs %}

## Preparation

If you have TypeScript or Python environment configured in your local environment, you can jump to "Quick Start" (next section) directly.&#x20;

Otherwise, you can follow a step-to-step tutorial to prepare the environment first.&#x20;

{% tabs %}
{% tab title="TypeScript" %}
Step-by-step tutorial: <https://github.com/mind-network/mind-lake-sdk-typescript/blob/main/tutorial/README.md>
{% endtab %}

{% tab title="Python" %}
Step-by-step tutorial: <https://github.com/mind-network/mind-lake-sdk-python/blob/main/tutorial/README.md>
{% endtab %}
{% endtabs %}

## SDK Quick Start

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>Checkout TypeScript Quick-start example</td><td><a data-mention href="/pages/CSSsrK7use7w5lUDXN7n">/pages/CSSsrK7use7w5lUDXN7n</a></td></tr><tr><td>Checkout Python Quick-start example</td><td><a data-mention href="/pages/gCyo4PXs652RJPE3XX43">/pages/gCyo4PXs652RJPE3XX43</a></td></tr></tbody></table>

## More examples

The SDK developer has a few more [examples](/mind-lake-sdk/use-cases.md) to help understand.&#x20;

More examples are welcome from the community. Please contact us.

## Synopsis

The SDK offers a variety of APIs:

<table><thead><tr><th width="219.5">API</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>MindLake</strong><br>&#x3C;<a href="/pages/PMb6QopSvjeLEVYZAuhA">TypeScript</a> | <a href="/pages/TDgQFnewZVDjZHEXSpFR">Python</a>></td><td>The general interfaces that apply to entire SDK, including the entry point `connect` method to connect to Mind Lake and managing user accounts as well as encryption keys.</td><td></td></tr><tr><td><strong>MindLake.DataLake</strong><br>&#x3C;<a href="/pages/k6vbNRB7liTJq23uKyKm">TypeScript</a> | <a href="/pages/Txe5ZuT5nqX6mQaBDTUc">Python</a>></td><td>Managing the data tables and enabling execution of SQL queries.</td><td></td></tr><tr><td><strong>MindLake.Cryptor</strong><br>&#x3C;<a href="/pages/RuX7SjdLPtL4sEM3SG0T">TypeScript</a> | <a href="/pages/gHCqhOqNwYAue7RePE8i">Python</a>></td><td>Encrypting and decrypting data</td><td></td></tr><tr><td><strong>MindLake.Permission</strong><br>&#x3C;<a href="/pages/A9Eblmk8wFEHYpDYb3SB">TypeScript</a> | <a href="/pages/9YA9xpbxSUsFaR7Seovh">Python</a>></td><td>Granting permission of decryption to other users for sharing</td><td></td></tr></tbody></table>
