# Adding python backend code to existing installation

{% hint style="warning" %}
Python backend code has been available since version 3.36.5 (released on June 26, 2023). If you have installed your instance after that release, Python is already included in your setup, and you can skip this tutorial.
{% endhint %}

## **Docker compose**

If you are using docker compose to run UI Bakery, you will need to add the following container to your `docker-compose.yaml` file:

```
  python-runtime:
    container_name: python-runtime
    image: cruibakeryonprem.azurecr.io/cloud/python-runtime:latest
    restart: always
    env_file: .env
```

## **Kubernetes**

To add the Python executor to an existing cluster, you can copy a new deployment from our [repository](https://github.com/uibakery/self-hosted/blob/main/kubernetes/ui-bakery-python-runtime.yaml).
