# Akto Direct connect

**Akto Direct Connect** lets you start using Akto in seconds with a **simple 1-line integration**—no need to set up or manage any infrastructure. Your traffic is securely streamed from your cloud to **Akto's hosted Traffic Processor**, where it is analyzed in real time.

This fully-managed setup is ideal for teams that want **quick onboarding**, **zero maintenance overhead**, and **fast time-to-value** with API security testing.

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

### Get Authentication Token

1. Login to Akto dashboard at [app.akto.io](https://app.akto.io)
2. Go to Quick Start > Hybrid Saas > Click on “Connect” button
3. Copy the JWT token/databaseAbstractorToken (marked in red)

#### Run the Traffic Collector

Replace the CLOUD\_PROCESSOR\_AUTHENTICATION\_TOKEN below with the JWT token copied from previous step

```bash
docker run -d \
  --name akto-api-security-traffic-collector \
  --restart always \
  --network host \
  --privileged \
  --pid=host \
  --cap-add SYS_PTRACE \
  --cap-add SYS_ADMIN \
  --cpus="0.5" \
  --memory="512m" \
  -v /lib/modules:/lib/modules \
  -v /sys/kernel:/sys/kernel \
  -v /usr/src:/usr/src \
  -v /:/host \
  -e AKTO_TRAFFIC_BATCH_TIME_SECS=10 \
  -e AKTO_TRAFFIC_BATCH_SIZE=100 \
  -e CLOUD_PROCESSOR_MODE=true \
  -e CLOUD_PROCESSOR_AUTHENTICATION_TOKEN=<token-from-step-1> \
  -e PROBE_ALL_PID=true \
  public.ecr.aws/aktosecurity/mirror-api-logging:k8s_ebpf
```

In case you face an issue with the spaces in the command above

```bash
docker run -d --name akto-api-security-traffic-collector --restart always --network host --pid=host --privileged --cap-add SYS_PTRACE --cap-add SYS_ADMIN --cpus="0.5" --memory="512m" -v /lib/modules:/lib/modules -v /sys/kernel:/sys/kernel -v /usr/src:/usr/src -v /:/host -e AKTO_TRAFFIC_BATCH_TIME_SECS=10 -e AKTO_TRAFFIC_BATCH_SIZE=100 -e AKTO_KAFKA_BROKER_MAL=<kafka_ip> -e CLOUD_PROCESSOR_MODE=true -e CLOUD_PROCESSOR_AUTHENTICATION_TOKEN=<token-from-step-1> -e PROBE_ALL_PID=true public.ecr.aws/aktosecurity/mirror-api-logging:k8s_ebpf
```


---

# 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/getting-started/quick-start-with-akto-cloud/akto-direct-connect.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.
