# Get started with the Python SDK

Canonical page: https://docs.ovok.com/get-started/sdks/python

## Install [#install]

```bash
pip install ovok-sdk
```

The SDK needs Python 3.10 or later.

## Create a client [#create-a-client]

```python
from ovok_sdk import Ovok

ovok = Ovok("https://api.sandbox.ovok.com", "your-tenant")
```

## Sign in [#sign-in]

```python
result = ovok.auth.login(profile_type="Patient", email=email, password=password)
```

A backend service passes `client_id` and `client_secret` instead; see [Authenticate a machine client](/python-sdk/guides/machine-clients).

## Make a first request [#make-a-first-request]

```python
patients = ovok.slim.patients.list({"count": 20})
```

Next: [full Python SDK docs](/python-sdk).
