DNotifier Tutorial

Tutorials

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 →
Tutorial 1 of 18Start here

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.

5 min read
Start tutorial
Tutorial 2 of 18

How to Install the DNotifier SDK

Install the official DNotifier package for JavaScript/TypeScript, Python, or Flutter/Dart and verify your environment before you initialize the client.

12 min read
Start tutorial
Tutorial 3 of 18

How to Choose a Transport

Pick WebSocket or HTTP when you initialize DNotifier, based on whether you need realtime push or request/response patterns.

8 min read
Start tutorial
Tutorial 4 of 18

How to Make Your First Connection

Understand the connect() flow, then run a complete WebSocket connection example in JavaScript, Dart/Flutter, or Python.

15 min read
Start tutorial
Tutorial 5 of 18

How to Send and Receive Your First Message

Send a 1:1 realtime message over WebSocket and receive it on another client — with runnable examples in JavaScript, Dart/Flutter, and Python.

12 min read
Start tutorial
Tutorial 6 of 18

How to Understand the Message Lifecycle and Payload Structure

Follow a realtime message from connection through delivery, then learn how to read its metadata, payload, and application-defined message type.

16 min read
Start tutorial
Tutorial 7 of 18

How to Send Messages to Multiple Receivers

Fan out one message to multiple known receiver IDs and manage group membership explicitly in your application.

12 min read
Start tutorial
Tutorial 8 of 18

How to Send Structured Payloads

Send rich media and file attachments as typed data objects, with automatic chunking and complete payload delivery.

14 min read
Start tutorial
Tutorial 9 of 18

How to Handle Large Messages with Chunking

Understand how DNotifier splits large payloads into chunks, reassembles them before delivery, and applies plan-based size limits.

7 min read
Start tutorial
Tutorial 10 of 18

How to Handle Reconnection and Errors Gracefully

Handle disconnect events, connection and send failures, retries, and offline UI with a safe application-owned reconnection policy.

8 min read
Start tutorial
Tutorial 11 of 18

How to Build a 1:1 Chat Experience

Build a two-user chat thread with persisted history, live WebSocket messages, typing indicators, and reconnect recovery.

16 min read
Start tutorial
Tutorial 12 of 18

How to Add Persistent Chat History

Load persisted thread messages, merge them safely with live deliveries, and refetch after reconnecting to fill gaps.

14 min read
Start tutorial
Tutorial 13 of 18

How to Delete and Manage Chat Messages

Delete persisted chat messages, update local UI state, and optionally notify peers for immediate synchronization.

11 min read
Start tutorial
Tutorial 14 of 18

How to Build a Minimal Chat App End-to-End

Build and test a complete two-user chat with connection, history, text sending, live delivery, persistence, and disconnect handling.

20 min read
Start tutorial
Tutorial 15 of 18

How to Send Your First AI Prompt

Send a one-shot AI prompt over HTTP, choose an optional provider and model, and read the response returned by sendAI.

16 min read
Start tutorial
Tutorial 16 of 18

How to Build Chat-Style AI Conversations

Use role-based messages, system prompts, few-shot examples, and optional knowledge-base retrieval in sendAI calls.

13 min read
Start tutorial
Tutorial 17 of 18

How to Use AI Sessions for Multi-Turn Context

Create an AI session, persist its ID, and reuse it across follow-up prompts to maintain server-managed conversation context.

14 min read
Start tutorial
Tutorial 18 of 18

How to Enable AI History and Session Logging

Store user-facing AI history, delete individual turns, and enable operational session telemetry in the DNotifier dashboard.

18 min read
Start tutorial