Follow these steps to enable integration with ReversingLabs.

## Add ReversingLabs credentials

ReversingLabs credentials should be securely stored in a Kubernetes secret.

```sh
bash add_secrets.sh halo-reversinglabs-username <username>
bash add_secrets.sh halo-reversinglabs-password <password>
```

## Upgrade Helm charts

### Engine

Run the commands below to enable ReversingLabs in the Embedded Engine.

```sh
helm get values cdrplatform-engine -oyaml > cdrplatform-engine-values.yaml
helm upgrade cdrplatform-engine cdrplatform-engine \
  -n cdrplatform \
  -f cdrplatform-engine-values.yaml \
  --set image.registry=glasswallhub.azurecr.io \
  --set configuration.ENABLE_REVERSING_LABS="true" \
  --atomic
```

### Portal

You may want to enable ReversingLabs in the Halo Portal. Run the commands below to enable the ReversingLabs page in the Portal.

```sh
helm get values cdrplatform-portal -oyaml > cdrplatform-portal-values.yaml
helm upgrade --install cdrplatform-portal cdrplatform-portal \
  -n cdrplatform \
  -f cdrplatform-portal-values.yaml \
  --set image.registry=glasswallhub.azurecr.io \
  --set enabled_pages='SystemSettings\,PolicySettings\,ValidationSettings' \
  --atomic
```