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

# Aurora Integration

> Route Aurora (PostgreSQL-compatible) traffic through Isofold for transparent optimization.

## Connect Isofold to Aurora

Isofold supports **Aurora PostgreSQL** by acting as a SQL-level TCP proxy. You can point any Postgres-compatible client or application to the Isofold endpoint, and queries will be optimized transparently.

***

## Update your connection string

Modify your app or CLI configuration to route traffic through the Isofold proxy:

```text theme={null}
postgres://user:password@myteam.proxy.isofold.com:5432/dbname
```

Make sure the proxy has network access to your Aurora instance (via VPC or tunnel, depending on where Isofold is hosted).

***

## CLI Example

Using `psql`:

```bash theme={null}
psql "postgres://user:password@myteam.proxy.isofold.com:5432/dbname"
```

***

## Application Example (Node.js)

```ts theme={null}
import { Pool } from 'pg'

const pool = new Pool({
  connectionString: 'postgres://user:password@myteam.proxy.isofold.com:5432/dbname'
})
```

***

## Self-hosting Recommended

For Aurora deployments, we strongly recommend running Isofold **within the same VPC or region** as your database.

See [self-hosted setup](/setup/self-hosted) to:

* Run via Docker or Fly.io
* Connect to your internal Aurora endpoint
* Avoid external network hops

***

## Enable Verification Mode

Enable auditing by comparing original and rewritten queries:

```bash theme={null}
export ISOFOLD_VERIFY_MODE=true
```

This is especially useful for sensitive production workloads.

***

## Observability

Once integrated:

* The Isofold dashboard will show query rewrites
* You’ll see per-query savings and output diffs
* You can analyze performance impacts of rewrite strategies

***

Need help configuring Aurora + Isofold in your environment? [Reach out to support](mailto:support@isofold.com).
