> For the complete documentation index, see [llms.txt](https://docs.akto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akto.io/traffic-connector/azure-services/connect-akto-with-azure-container-app.md).

# Connect Akto with Azure Container App

<figure><img src="/files/FCVr821TbUmB7rIAoxYy" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1PNV4lsRIfHhyAVnzziT" 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="/files/fEyL6CX9UGLyDtUhySuY" 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="/files/bCTn1nY8JqbTEza0WCCK" alt="Mirroring Container"><figcaption></figcaption></figure>

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