Letterbook Docs
Connect MongoDB
Let Letterbook reference customer and account data stored in MongoDB.
Last updated June 17, 2026
What this guide covers
Connect MongoDB so Letterbook can reference customer and account records stored in collections.
Setup steps
- Create a read-only database user
- Allow Letterbook network access
- Select the database and collections
- Map customer email or user ID fields
- Test a sample lookup
Configuration details
- Connection string format
- Recommended read permissions
- IP allowlist requirements
- How nested documents are displayed
- How schema changes affect lookups