# Activating features under a feature flag

There are cases when some features developed by the UI Bakery team are in beta and hidden under a feature flag. By request, you can activate these features on your instances by enabling the feature flag variable.

* in the .env file, add the variable `UI_BAKERY_ENABLED_FEATURE_FLAGS=`
* specify the name of the feature received from the UI Bakery team, e.g. `UI_BAKERY_ENABLED_FEATURE_FLAGS=chat`
* if the variable is already active, and you would like to add another feature to the list, just add it to the existing one by separating the features with a comma, e.g. `UI_BAKERY_ENABLED_FEATURE_FLAGS=chat,themeBuilderEnabled`
* restart the server to ensure the changes are applied:

```sh
docker compose down
docker compose up -d
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uibakery.io/on-premise/on-premise-features/activating-features-under-a-feature-flag.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
