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

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