# How can I configure the account area?

## ENV Variables

<table border="1" id="bkmrk-variable-default-des" style="border-collapse: collapse; width: 100%; height: 59.5938px;"><colgroup><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col><col style="width: 33.3731%;"></col></colgroup><tbody><tr style="height: 29.7969px;"><td style="height: 29.7969px;">**Variable**  
</td><td style="height: 29.7969px;">**Default**  
</td><td style="height: 29.7969px;">**Description**  
</td></tr><tr style="height: 29.7969px;"><td>`AERO_ACCOUNT_AREA_THEME`</td><td>`aerocommerce/account-area`</td><td>Defines the namespace that should be registered as having the views and resources for the account area. This should only be changed under unique circumstances.</td></tr><tr><td>`AERO_ACCOUNT_AREA_LAYOUT`</td><td>`layouts.main`</td><td>Defines the layout that the account area views use. If the layout provided doesn’t exist, account-area::layouts.blank will be used.</td></tr></tbody></table>

## Config File

If you would like to change any of the config values you can publish the config file by running:

```bash
php artisan vendor:publish --provider="Aero\AccountArea\ServiceProvider"
```

<p class="callout info">Once the file is published you will be able to edit it through the config php file created at `/config/aero/account-area.php`.</p>

### `date_format`

This defines the format used when displaying any dates in the account area. `js F Y` by default, e.g. `25/09/2026`.

### `subscription_status_state_class`

Maps subscription status states to specific colors, e.g. `active => success`. So when a subscription has a status with active state, the orb will have the class `bpa-indicator--success` (green).

### `order_status_state_class`

Maps order status states to specific colors, e.g. `active => success`. So when an order has a status with active state, the orb will have the class `bpa-indicator--success` (green).

### `order_status_radio_options`

This defines the order statuses shown in the radio options on the orders page and what order status states they map to.

### `order_years`

This defines the number of previous years to display in the years dropdown on the orders page.

### `page_sections`

This defines the sections that make up each page by default. You can add/edit/remove sections through code, it is not necessary to adjust these values usually.

### `form_sections`

This defines the sections that make up each form by default. You can add/edit/remove sections through code, it is not necessary to adjust these values usually.

### `slots`

This defines the views that are injected into slots by default.

### `links`

This defines the links that should be in the navbar by default. You can add/edit/remove links through code, it is not necessary to adjust these values usually.