> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Additional configuration

> Configure additional environment variables in the Superblocks data plane

The data plane exposes certain environment variables for additional configuration. Depending on how the data plane is deployed, you can set these environment variables directly, or use deployment-specific variables like Helm chart values or Terraform settings. If the data plane's Helm chart or Terraform module does not expose a dedicated configuration for a given environment variable, the environment variable can be set using the generic configuration below:

<Tabs>
  <Tab title="Terraform">
    Update your `main.tf` with a list of objects containing the environment variable names and values.

    ```
    superblocks_agent_environment_variables = [{name = "ENV_VAR_NAME", value = "value"}]
    ```
  </Tab>

  <Tab title="Helm">
    Set environment variables under `extraEnv` or `envFrom` in the Helm chart [values.yaml](https://github.com/superblocksteam/agent/blob/b98e0980c33b5936ea21dec7cb2322df51e6bcc3/helm/agent/values.yaml#L41-L54).

    ```yaml theme={null}
    # Specify extra environment variables that will be applied
    extraEnv:
      ENV_VAR_NAME: value

    # Specify environment variables that will be applied from secrets or configmaps.
    envFrom:
      - secretRef:
          name: my-agent-env-secret
      - configMapRef:
        name: my-agent-env-configmap
    ```
  </Tab>
</Tabs>

## Examples

See the docs below for common environment variables pertaining to each category:

* [Size and time limits](/enterprise/hybrid-architecture/manage/size_and_time_limits)
* [Multiple environments](/enterprise/hybrid-architecture/deployment/multiple_environments)
* [Database connection pooling](/enterprise/hybrid-architecture/manage/database_connection_pooling)
* [Upgrading](/enterprise/hybrid-architecture/manage/upgrade)
* [Data plane's local Redis](/enterprise/hybrid-architecture/manage/local_redis)
