diff --git a/docs/NOSTR_DIRECT_MESSAGES.md b/docs/NOSTR_DIRECT_MESSAGES.md
index c38722a..1a118d2 100644
--- a/docs/NOSTR_DIRECT_MESSAGES.md
+++ b/docs/NOSTR_DIRECT_MESSAGES.md
@@ -1,39 +1,75 @@
### Direct Messaging on Nostr
-This project includes a complete direct messaging system supporting both NIP-04 (legacy) and NIP-17 (modern, - more - private) encrypted messages with real-time subscriptions, optimistic updates, and a persistent - cache first - local storage.
+This project includes a complete direct messaging system supporting both NIP-04 (legacy) and NIP-17 (modern, more private) encrypted messages with real-time subscriptions, optimistic updates, and a persistent cache-first local storage.
-## Quick Start
+**The DM system is not enabled by default** - follow the setup instructions below to add messaging functionality to your application.
-### 1. Enable Direct Messaging
+## Setup Instructions
-The `DMProvider` is already added to your app, but **disabled by default**. To enable messaging, pass `enabled: true` in the config:
+### 1. Add DMProvider to Your App
+
+First, add the `DMProvider` to your app's provider tree in `src/App.tsx`:
```tsx
-import { DMProvider } from '@/components/DMProvider';
+// Add these imports at the top of src/App.tsx
+import { DMProvider, type DMConfig } from '@/components/DMProvider';
import { PROTOCOL_MODE } from '@/lib/dmConstants';
-function App() {
+// Add this configuration before your App component
+const dmConfig: DMConfig = {
+ // Enable or disable DMs entirely
+ enabled: true, // Set to true to enable messaging functionality
+
+ // Choose one protocol mode:
+ // PROTOCOL_MODE.NIP04_ONLY - Force NIP-04 (legacy) only
+ // PROTOCOL_MODE.NIP17_ONLY - Force NIP-17 (private) only
+ // PROTOCOL_MODE.NIP04_OR_NIP17 - Allow users to choose between NIP-04 and NIP-17 (defaults to NIP-17)
+ protocolMode: PROTOCOL_MODE.NIP17_ONLY, // Recommended for new apps
+};
+
+// Then wrap your app components with DMProvider:
+export function App() {
return (
-