# Configuration

Below are the available environment variables used to configure the Webforms application.

#### `WEBFORMS_SERVER_LIMITS_FORMS`

A list of limits on the number of active sessions for the specified forms.

* `WEBFORMS_SERVER_LIMITS_FORMS_<INDEX>_NAME`

  The name of the form for which the active session limit is being set.

  **Default value:** null

  **Valid value:** any valid form name
* `WEBFORMS_SERVER_LIMITS_FORMS_<INDEX>_LIMIT`

  A number specifying the maximum number of active sessions for the specified form across the entire cluster.

  **Default value:** null

  **Valid value:** 0..2147483647

Example:

```yaml
WEBFORMS_SERVER_LIMITS_FORMS_0_NAME: form_1
WEBFORMS_SERVER_LIMITS_FORMS_0_LIMIT: 5000
```

#### `WEBFORMS_SERVER_GTM_FORMSWITHENABLEDGTM`

Configuration of which requests allow GTM statistics collection. The value of this variable should be expressed as a regular expression that will match the names of the forms for which GTM statistics may be collected. Note that the setting itself is not sufficient; statistics also need to be enabled for individual forms in their low-code definition.

Example:

```yaml
WEBFORMS_SERVER_GTM_FORMSWITHENABLEDGTM: demo.*
```

In the above example, collecting GTM statistics will be allowed for forms whose name starts with "demo".


---

# 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.eximee.com/documentation/documentation-en/eksploatacja-aplikacji/webforms/konfiguracja.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.
