> For the complete documentation index, see [llms.txt](https://veildb.gitbook.io/veildb-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://veildb.gitbook.io/veildb-docs/getting-started/03.-service-installation.md).

# 03. Service Installation

## Overview

There is a monorepo for the service layer based on Symfony and React.js.

It is recommended to install via Docker, so before the installation, ensure Docker is installed on your server <https://docs.docker.com/engine/install/>

To install the service, clone the repository <https://github.com/veildb-tech/service>

```
git clone https://github.com/veildb-tech/service
cd ./service
```

{% hint style="info" %}
Before the installation, set a strong DB password in the .env file
{% endhint %}

There is a script for automatic installation, just execute it, wait, and enjoy:

```
./install.sh
```

It requires filling the domain. It is strongly recommended configure SSL for it.

## Registration

After the installation, the first step is registration. Go to the URL you specified before the installation and click the "Register" link. It will create a new account and organization with admin permissions.

## Email configuration

You need to configure SMTP in `./src/backend/.env`:

```
MAILER_DSN=
APP_DEFAULT_EMAIL=
```

How to specify `MAILER_DSN` follow this link <https://symfony.com/doc/current/mailer.html#using-a-3rd-party-transport>
