How to Create a New Project
Create a project in the DNotifier dashboard and locate the App ID and App Secret it generates for your SDK.
DNotifier Tutorial
Step-by-step guides for the DNotifier dashboard and SDK. Follow the order below or jump to the task you need — each tutorial includes a short video walkthrough.
Full documentation in Developer Center →Create a project in the DNotifier dashboard and locate the App ID and App Secret it generates for your SDK.
Install the official DNotifier package for JavaScript/TypeScript, Python, or Flutter/Dart and verify your environment before you initialize the client.
Pick WebSocket or HTTP when you initialize DNotifier, based on whether you need realtime push or request/response patterns.
Understand the connect() flow, then run a complete WebSocket connection example in JavaScript, Dart/Flutter, or Python.
Send a 1:1 realtime message over WebSocket and receive it on another client — with runnable examples in JavaScript, Dart/Flutter, and Python.
Follow a realtime message from connection through delivery, then learn how to read its metadata, payload, and application-defined message type.
Fan out one message to multiple known receiver IDs and manage group membership explicitly in your application.
Send rich media and file attachments as typed data objects, with automatic chunking and complete payload delivery.
Understand how DNotifier splits large payloads into chunks, reassembles them before delivery, and applies plan-based size limits.
Handle disconnect events, connection and send failures, retries, and offline UI with a safe application-owned reconnection policy.
Build a two-user chat thread with persisted history, live WebSocket messages, typing indicators, and reconnect recovery.
Load persisted thread messages, merge them safely with live deliveries, and refetch after reconnecting to fill gaps.
Delete persisted chat messages, update local UI state, and optionally notify peers for immediate synchronization.
Build and test a complete two-user chat with connection, history, text sending, live delivery, persistence, and disconnect handling.
Send a one-shot AI prompt over HTTP, choose an optional provider and model, and read the response returned by sendAI.
Use role-based messages, system prompts, few-shot examples, and optional knowledge-base retrieval in sendAI calls.
Create an AI session, persist its ID, and reuse it across follow-up prompts to maintain server-managed conversation context.
Store user-facing AI history, delete individual turns, and enable operational session telemetry in the DNotifier dashboard.