> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superalign.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Self Host in your system in quick steps!

To get started with SuperAlign, you'll need to install the SuperAlign Python SDK. This SDK will allow you to work with the SuperAlign platform, from creating your account to deploying your models.

To install SuperAlign, simply run the following command:

<CodeGroup>
  ```bash >_ Terminal theme={null}
  pip3 install pureml
  ```
</CodeGroup>

If you\`re a large company looking for a proof-of-concept, or an engineer looking to use the open-source version in a funky non-production way, then you're in the right place! Our Docker compose deployment let's you spin up a fresh SuperAlign instance in minutes.

Want more reliability? The easiest way to get started with SuperAlign is to use [SuperAlign Cloud](https://superalign.ai/).

<Info>
  Self-hosted open-source deployment is Apache-2.0 licensed and provided without
  a guarantee.
</Info>

## Requirements

* A subsystem with docker-engine installed. [Installation guidelines](https://docs.docker.com/engine/install/)

## Setting up the compose

1. In a new directory where you want to setup the containers, create a new file `docker-compose.yml`

2. Add the following content from our [official docker-compose example file](https://raw.githubusercontent.com/PuremlHQ/PureML/main/packages/pureml_docker/docker-compose.yml)

   ```yml docker-compose.yml theme={null}
   version: "3"

   services:
     backend:
       image: puremlhq/pureml_backend:local-base
       environment:
         - PURE_SITE_BASE_URL=http://localhost:3000
       ports:
         - 8080:8080
       volumes:
         - pureml-data:/pureml_backend/data

     frontend:
       image: puremlhq/pureml_frontend
       environment:
         - BACKEND_URL=http://backend:8080/api/
       ports:
         - 3000:3000
       links:
         - backend

   volumes:
     pureml-data:
   ```

3. Run the following command to start your containers

   <CodeGroup>
     ```bash >_ Terminal theme={null}
     docker compose up
     ```
   </CodeGroup>

> Make sure your docker engine is running for the docker command to work.

<Info>
  Additionally, to run the containers in background you can use the command
  `docker compose up -d` or `docker compose up --detach`
</Info>

If all goes well, you should have a SuperAlign local instance setup and running

* SuperAlign UI at [localhost:3000](https://localhost:3000) with your
* SuperAlign Backend hosted at [localhost:8080/api](http://localhost:8080/api).

You can even checkout the auto generated Open API swagger documentation at [/api/swagger/index.html](http://localhost:8080/api/swagger/index.html)

## Update docker image

Make sure you are using latest docker image to use latest features of SuperAlign. You can upgrade the package by using below command:

<CodeGroup>
  ```bash >_ Terminal theme={null}
  docker compose up --build
  ```
</CodeGroup>
