﻿# Install and set up BRIX AI

> [HTML Version](install-cortex.html)

**BRIX AI** is installed in your company infrastructure. Two installation options are available:

- Docker Compose: Suitable for test environments. In this option, the **BRIX AI** server, databases, auxiliary services, etc., are deployed as containers on a single server for quick launch and simple management. Only installation with internet access is available.

- Docker Swarm: Suitable for production environments. **BRIX AI** is deployed in a cluster with scalable microservices. Both internet-connected and air-gapped installations are supported.

## BRIX AI installation process

To install and configure **BRIX AI**, follow the steps in the articles below.

### Prerequisites

1. [Review system requirements](cortex-system-requirements.md) and select an installation option: Docker Compose or Docker Swarm.

2. [Download and extract the installation files archive](cortex-download-installer.md).

3. [Configure environment variables in the .env file](cortex-environment-variables.md).

4. [Configure TLS certificates](cortex-tls-settings.md).

5. [Configure administrator authentication in BRIX AI](cortex-auth-settings.md).

### Installing BRIX AI

The steps depend on your selected installation option and are described in separate articles:

- [Online installation using Docker Compose](cortex-docker-compose.md).

- [Online installation using Docker Swarm](cortex-docker-swarm.md).

- [Air-gapped offline installation using Docker Swarm](cortex-harbor.md).

To resolve issues, you can [run diagnostics](cortex-troubleshooting.md).

### Configuring integration

Import the integration solution with **BRIX AI** into BRIX and establish a connection. For instructions, see [Configure integration of BRIX with BRIX AI](cortex-integration-solution.md).