# Getting started

[Github repo](https://github.com/Mindkosh/mindkosh-python-sdk)

[Example scripts](https://github.com/Mindkosh/mindkosh-python-sdk/tree/develop/examples)

[PyPi](https://pypi.org/project/mindkosh/)

### Setting up the SDK

The first thing you need to setup the SDK is a private access token. You can grab one by emailing us at <support@mindkosh.com> or getting in touch with us over Slack/phone.&#x20;

{% hint style="info" %}
Note that SDK access is only available for paid users.
{% endhint %}

Next, you'd want to install the SDK. Mindkosh SDK is available as a Pypi package can be installed using pip like so:

```py
pip install mindkosh
```

The SDK has been tested on Python 3.9 . While it may work on other versions, those haven't been tested and compatibility is not guaranteed. It is recommended that you install mindkosh in a separate python environment.

### Initializing the client

To do anything with the SDK, you first need to create a client using the SDK token. This can be done like so:

```py
## Initialize the client
client = mindkosh.Client(
    token = <"Your token here">,
)
```

You can check if this succeeded by fetching a list of all the tasks in your workspace.

```py
tasks = client.task.get()
print(f"Found {len(tasks)} tasks")
for task in tasks:
    print(task.name)
```


---

# 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.mindkosh.com/python-sdk/getting-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.
