--- title: Environment Variables sidebar_position: 1 sidebar_custom_props: icon: TbVariable --- import OptionTable from '@site/src/theme/OptionTable' import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; ## Frontend ## Backend ### Config ### Tokens ', 'Secret used for the access tokens'], ['ACCESS_TOKEN_EXPIRES_IN', '30m', 'Access token expiration time'], ['LOGIN_TOKEN_SECRET', '', 'Secret used for the login tokens'], ['LOGIN_TOKEN_EXPIRES_IN', '15m', 'Login token expiration time'], ['REFRESH_TOKEN_SECRET', '', 'Secret used for the refresh tokens'], ['REFRESH_TOKEN_EXPIRES_IN', '90d', 'Refresh token expiration time'], ['REFRESH_TOKEN_COOL_DOWN', '1m', 'Refresh token cooldown'], ['API_TOKEN_EXPIRES_IN', '1000y', 'Api token expiration time'], ]}> ### Auth ### Email #### Email SMTP Server configuration examples You will need to provision an [App Password](https://support.google.com/accounts/answer/185833). - EMAIL_SMTP_HOST=smtp.gmail.com - EMAIL_SERVER_PORT=465 - EMAIL_SERVER_USER=gmail_email_address - EMAIL_SERVER_PASSWORD='gmail_app_password' Keep in mind that if you have 2FA enabled, you will need to provision an [App Password](https://support.microsoft.com/en-us/account-billing/manage-app-passwords-for-two-step-verification-d6dc8c6d-4bf7-4851-ad95-6d07799387e9). - EMAIL_SMTP_HOST=smtp.office365.com - EMAIL_SERVER_PORT=587 - EMAIL_SERVER_USER=office365_email_address - EMAIL_SERVER_PASSWORD='office365_password' **smtp4dev** is a fake SMTP email server for development and testing. - Run the smtp4dev image: `docker run --rm -it -p 8090:80 -p 2525:25 rnwood/smtp4dev` - Access the smtp4dev ui here: [http://localhost:8090](http://localhost:8090) - Set the following env variables: - EMAIL_SERVER_HOST=localhost - EMAIL_SERVER_PORT=2525 ### Storage ### Message Queue ### Logging ### Data enrichment and AI ### Support Chat ', 'Suport chat key'], ['SUPPORT_FRONT_CHAT_ID', '', 'Support chat id'], ]}> ### Telemetry ### Debug / Development ### Workspace Cleaning