Skip to content

Environment Variables

SamuraiAX allows you to manage per-space encrypted environment variables. You can securely store reusable configuration values and secrets such as API keys, endpoint URLs, and tenant IDs, then reference them in the workflow builder.

  1. Open Settings from the account menu in the top-right corner
  2. Select the Environment Variables tab from the sidebar
  3. Click the Add button in the top-right
  4. Enter a key name and value, then save

Environment variables settings screen)

  1. Open a node input (e.g., an LLM node) in the workflow builder
  2. Open the variable selector — you will see an Env group
  3. Select the variable you need — {{#env.KEY_NAME#}} will be inserted automatically

Using environment variables in the workflow builder