Files
letta-server/fern/pages/selfhosting/postgres.mdx
Kian Jones b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00

14 lines
423 B
Plaintext

---
title: Database Configuration
subtitle: Configure Letta's Postgres DB backend
slug: guides/selfhosting/postgres
---
## Connecting your own Postgres instance
You can set `LETTA_PG_URI` to connect your own Postgres instance to Letta. Your database must have the `pgvector` vector extension installed.
You can enable this extension by running the following SQL command:
```sql
CREATE EXTENSION IF NOT EXISTS vector;
```