Skip to main content
Skip table of contents

Environment Variables

Environment Variables are critical in managing Appbase deployments, providing a flexible and secure approach to configuring application settings and behavior without compromising code integrity.

Using environment variables for Appbase configuration offers several advantages:

  1. Centralized Management: Environment variables can be centrally managed and updated without modifying the application code, simplifying configuration changes and reducing the risk of errors.

  2. Code Reusability: Environment variables decouple application configuration from the code, making it easier to reuse code across different environments and platforms.

  3. Secret Management: Sensitive information, such as credentials and tokens, can be securely stored and managed using environment variables, reducing the risk of exposure.

  4. Environment-Specific Configuration: Environment variables allow for defining specific configurations for different deployment environments, such as development, staging, and production.

  5. Integration with Deployment Pipelines: Environment variables can be easily integrated into deployment pipelines, enabling automated configuration management and consistent application behavior across environments.


Steps

  1. On the top right, navigate to 

    cog
     → Application Studio → <<solution>>

  2. Navigate to Environment Preferences → Environment Variables from the left-hand navigation menu.
  3. Click the pencil button to edit an environment variable.
  4. Assign a Value for the variable.
  5. Add a Description to the variable.
  6. Click Save to commit your changes or Cancel to exit without saving.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.