Configuration variables let you securely store information throughout your bot. Like bot variables, configuration variables are accessible across all Workflows and conversations. The key difference is that configuration variables are encrypted. This means an Autonomous Node can’t read or display information you store in a configuration variable. This extra layer of security makes configuration variables great for storing sensitive information, like:Documentation Index
Fetch the complete documentation index at: https://botpress.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
- API Tokens
- Private IP Addresses
- Usernames and passwords
If you need your variable to be available globally but don’t need/want to store it securely, use a bot variable.
Create a configuration variable
To create a configuration variable:- In the Studio, select Bot Settings from the bottom-left corner.
- Scroll to the Configuration Variables section:

- Select +, then enter a Name and Value for your variable:

Read a configuration variable
You can useenv.variablename to read a configuration variable. For example, in an Execute Code Card:
