# Connect Akto with Azure Container App

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-2d99b5253f6e19d22d62cc5adccf8a86a74e2b41%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-efe973d53d805a08e047be22e56237914ad4c3e1%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

1. Use the following env vars to configure the sidecar

```
AKTO_INFRA_MIRRORING_MODE=gcp
AKTO_KAFKA_BROKER_MAL=<Akto_Runtime_Load_Balancer_DNS> // modify this value with Akto Runtime Load Balancer DNS
AKTO_MONGO_CONN=mongodb://0.0.0.0:27017
AKTO_TRAFFIC_BATCH_SIZE=100
AKTO_TRAFFIC_BATCH_TIME_SECS=10
```

2. Click on Add button, and add the akto traffic mirroring sidecar.

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-6b655ad35000bfbe3b2ad50c514a4cf38026f268%2Fadd-container.png?alt=media" alt="Add Container"><figcaption></figcaption></figure>

3. Enter the following values to spawn a new Akto mirroring container

```bash
Name -> mirroring
Image source -> Docker Hub or other registeries
Image Type -> Public
Registry server URL -> index.docker.io
Image and tag -> aktosecurity/mirror-api-logging:k8s_agent
Port -> 90
```

<figure><img src="https://2916937215-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRc4KTKGprZI2sPWKoaLe%2Fuploads%2Fgit-blob-232ed83b98b8cf14feeb5252141876f9d9eadaf7%2Fmirroring-container.png?alt=media" alt="Mirroring Container"><figcaption></figcaption></figure>

4. Click on Apply, and traffic should start population in a couple of minutes.
