Skip to content

Environment Variables

Environment Variables in Alumio are a key feature used to manage and store configuration values that can be used across different parts of the integration platform. They help in keeping sensitive data secure, maintaining consistency, and allowing for easier management of configurations that may change based on the environment (development, staging, production, etc.).

Here's how Environment Variables are typically used in Alumio:

  1. Setting Up Environment Variables: You can navigate to the "Settings" menu and select "Environment variables" to create new environment variables. For instance, you might set up an environment variable for a domain URL or API URL, which will be used to configure HTTP clients or other integration components.
  2. Naming Environment Variables: When creating an environment variable, you provide a name that is descriptive and indicative of its purpose, such as "WOOCOMMERCE_DOMAIN_URL" for the URL of a WooCommerce shop.
  3. Inserting Values: The value field for the environment variable will contain the actual data you want to store, like the URL or API key. If the information is sensitive, such as a API key or password, you have the option to mark it as encrypted. This will also obscure it in logs etc.
  4. Using Environment Variables: Once set up, these variables can be used in various configurations by referencing them with a specific syntax, usually encapsulated within curly braces, such as ${VARIABLE_NAME}.
  5. Consistency and Reusability: By using environment variables, you can maintain consistency across different configurations and make them reusable. This is especially useful when the same value is used in multiple places or when moving configurations between environments.