# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mindnetwork.xyz/mind-lake-sdk/get-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
