# Env File

Default environment variables to be declared in the file:

<table data-header-hidden><thead><tr><th width="271"></th><th width="329"></th><th></th></tr></thead><tbody><tr><td>Key</td><td>Info</td><td>Required</td></tr><tr><td>FMS_CONNECTION_DB</td><td>FileMaker database name (Enterprise File)</td><td>Yes</td></tr><tr><td>FMS_CONNECTION_HOST</td><td>FileMaker host address</td><td>Yes</td></tr><tr><td>FMS_CONNECTION_USER</td><td>FileMaker username</td><td>Yes</td></tr><tr><td>FMS_CONNECTION_PASS</td><td>FileMaker password</td><td>Yes</td></tr><tr><td>AUTHENTICATION_SECRET</td><td>Salt used in authentication service</td><td>Yes</td></tr><tr><td>ENCRYPTION_KEY</td><td>Sal used to generate vaults</td><td>Yes</td></tr><tr><td>ISENTERPRISE</td><td>Set to enterprise mode (must be set as ISENTERPRISE=true)</td><td>Yes</td></tr><tr><td>FM_GATEWAY</td><td>XML or DAPI - gateway to be used to communicate with BF Enterprise Helper file (defaults to XML if no value is set)</td><td>No</td></tr><tr><td>NOW_DC</td><td>used to identify which server app is running from</td><td>No</td></tr><tr><td>REDIS_HOST</td><td>Redis host address for caching</td><td>No</td></tr><tr><td>REDIS_PASSWORD</td><td>Redis password for caching</td><td>No</td></tr><tr><td>REDIS_PORT</td><td>Redis port for caching</td><td>No</td></tr><tr><td>REDIS_HOST_MESSAGING</td><td>Redis host address for messaging</td><td>No</td></tr><tr><td>REDIS_PASSWORD_MESSAGING</td><td>Redis password for messaging</td><td>No</td></tr><tr><td>REDIS_PORT_MESSAGING</td><td>Redis port for messaging</td><td>No</td></tr><tr><td>REDIS_SECRET_MESSAGING</td><td>Redis secret for messaging</td><td>No</td></tr><tr><td>REDIS_HOST_OAUTH</td><td>Redis host address for OAuth</td><td>No</td></tr><tr><td>REDIS_PASSWORD_OAUTH</td><td>Redis password for OAuth</td><td>No</td></tr><tr><td>REDIS_PORT_OAUTH</td><td>Redis port for OAuth</td><td>No</td></tr><tr><td>REDIS_SECRET_OAUTH</td><td>Redis secret for OAuth</td><td>No</td></tr></tbody></table>

Here is a sample file (where values for the right hand side will be changed to your own info):

{% file src="/files/e5rORPBIpjfc4O7GJzek" %}


---

# 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.klai.studio/engineering-reference-docs/bf-enterprise-documentation/env-file.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.
