> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrmex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Redis

> Connect a Redis instance to Myrmex — set an AUTH password and add the integration.

import { Note, Steps, Step, CardGroup, Card, Tip } from '@mintlify/components';

Connect your **Redis** instance so Myrmex can audit its hardening and compliance, check its operational health, explore its keyspaces, and — with approval — run commands for you. Myrmex reaches the instance over the Redis protocol (RESP) through a [Collector](/documentation/agent-endpoint-security/collector-mode) on your network. Operations run live and on demand through the [Integration Specialist](/documentation/multi-agent-system/integration-specialist-agent) agent — Myrmex reads only what you ask for and keeps none of your data on the Myrmex side.

## What Myrmex Can Do

<CardGroup cols={2}>
  <Card title="Compliance audit" icon="shield-halved">
    Run a [Security Posture](/documentation/security-posture/overview) audit and map findings to CIS, ISO 27001, NIST CSF, and BACEN [frameworks](/documentation/security-posture/frameworks).
  </Card>

  <Card title="Health checks" icon="heart-pulse">
    Review memory usage, evictions, connected clients, and persistence status.
  </Card>

  <Card title="Explore keyspaces" icon="table">
    Review keyspaces and key patterns so you can see what the instance holds.
  </Card>

  <Card title="Describe structure" icon="sitemap">
    Inspect key types, sizes, and TTLs.
  </Card>

  <Card title="Sensitive-data scan" icon="user-secret">
    Scan keys and values for personal or sensitive data that needs protection.
  </Card>

  <Card title="Run commands" icon="terminal">
    Execute read commands any time; write commands require your confirmation.
  </Card>
</CardGroup>

## Before You Start

* A **Collector** on a network that can reach the Redis host on its TCP port (default `6379`). See [Collector mode](/documentation/agent-endpoint-security/collector-mode).
* An **AUTH password** set on the instance (configure it in Step 1). This connector authenticates with a password only (the Redis default user); it does not use ACL usernames.

## Step 1 — Set the Credential in Redis

Set an `AUTH` password so Myrmex authenticates as the default user. The audit reads server settings through `INFO` and `CONFIG GET` (read-only).

```bash theme={null}
# In redis.conf
requirepass a-strong-password

# Or at runtime, then persist it to the config file
# redis-cli CONFIG SET requirepass "a-strong-password"
# redis-cli CONFIG REWRITE
```

<Tip>
  Always require AUTH and keep the instance off the public network. The posture audit checks settings such as `protected-mode`, `bind`, `requirepass`, and dangerous or renamed commands.
</Tip>

## Step 2 — Add the Integration in Myrmex

From the **Directory**, choose **Add Integration → Redis**, then fill in:

| Field           | Description                                                                                             |
| --------------- | ------------------------------------------------------------------------------------------------------- |
| **Name**        | A unique name for this instance.                                                                        |
| **Description** | Optional note to identify the instance.                                                                 |
| **Host**        | Redis server hostname or IP address.                                                                    |
| **Port**        | Redis server port (default `6379`).                                                                     |
| **Password**    | Redis AUTH password (stored encrypted; leave empty if none).                                            |
| **DB Index**    | Redis logical database index (default `0`).                                                             |
| **Collectors**  | The [Collector(s)](/documentation/agent-endpoint-security/collector-mode) that can reach this instance. |

## Connect

Click **Connect** to validate the connection. The instance then appears under **Environment → Integrations** alongside your other [integrations](/documentation/integrations/overview), and you can start asking the AI about it in the Workspace.

## Notes

* **Read-only in practice.** Auditing, health, exploration, and sensitive-data scans only read state. Write commands run through **Run commands** require your confirmation.
* **Nothing is stored.** Every operation runs in real time through the Collector; results return to your Workspace and no instance data is retained on the Myrmex side.
* **Authentication.** The connector uses password-only AUTH (the Redis default user); named ACL users are not used here.
