# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akto.io/traffic-connector/azure-services/connect-akto-with-azure-container-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
