# How to enable Premium features
:::caution
IMPORTANT: This functionality must be activated on the license!
:::

Make sure that all the following flags are included in FEATURES in `/root/swarmica/.env`:

```txt
grep FEATURES .env
FEATURES=ai,__ai_create_draft,__ai_assistant,__ai_mdxeditor,__ai_ticket_classifier,csat_anytime,qa,telegram,chats,wfm,sensitive_data,whatsapp_green,widgets,reporting
```

In `/root/swarmica/.env`, check that the following authentication methods are enabled:

```txt
grep AUTH_PROVIDERS .env
AUTH_PROVIDERS=email,anonymous,code
```

To connect the Whatsapp channel, you must first connect the corresponding container according to the [instructions](https://support.swarmica.com/article/ru/412-podklyuchenie-kanala-whatsapp-na-on-premise-installyacii.html), then connect Whatsapp through Green API according to the [instructions](https://support.swarmica.com/article/ru/317-ru.html).

:::caution
Finally, a restart of the containers is required:

```txt
docker compose down && docker compose up -d
```
:::