Tutorials

In-App Chat

Live Streaming Chat: Chat SDK

In this tutorial, you’ll discover how to set up and build a simple standalone live-streaming chat application using the PubNub Chat SDK and Livepeer. With Livepeer and the PubNub Chat SDK combined you can create a feature-rich live streaming application with full scalability and low latency that is ready for production.
React
Chat SDK Tutorial
In-App Chat

Build a Chat App with the PubNub CHAT SDK

PubNub's Chat SDK is recommended for developers who want to create new chat applications or add in-app chat to existing applications. The SDK supports everything you need to develop chat, from simple message exchange to advanced features like quoting, unread message counts, and emoji reactions. PubNub also provides several CORE SDKs that are use-case agnostic and can be used to create any real-time solution, but this tutorial will focus on the CHAT SDK.
ReactUnrealAndroid (Kotlin)iOS
Condition Monitoring Dashboard interface with real-time sensor data graphs for a compressor and fan, including operational and vibration status indicators.
Alerts & Notifications

Condition Monitoring Dashboard Tutorial

In this tutorial, you’ll discover how to build a Condition Monitoring Dashboard for monitoring industrial equipment conditions and sensors in real time. Make informed maintenance decisions and predict when maintenance will be needed to avoid downtime.
JavaScript
PubNub logo
In-App Chat

10 Line Chat

In this tutorial, you'll discover how to use PubNub to set up a simple chat application.
JavaScript
In-App Chat

Group Chat Tutorial with Chat Components

In this tutorial you’ll discover how to set up and use PubNub's Chat components to build a group chat application.
React
In-App Chat

Build a Digital Health Application

This tutorial will guide you through building a digital health application, showing how PubNub Chat Components can quickly create a professional looking, functional app. Please note that PubNub will discontinue support for Chat Components on January 1, 2025. They will remain open source and community-maintained but will no longer receive feature updates from PubNub.
React
In-App Chat

Build a Chat App with the PubNub CORE SDK

This tutorial will guide you through creating a simple chat app using the flexible PubNub SDK: Sending and receiving chat messages, member presence and looking up past messages. NOTE: This tutorial predates the introduction of our dedicated CHAT SDKs; developers creating chat apps should use our CHAT SDKs which support JavaScript / Typescript, Unreal, Kotlin, Swift, and Unity.
Android (Kotlin)iOSFlutterReact NativeJavaScript
Dual smartphone screens displaying chat application interface with conversation between users and notification panel.
Mobile Push Notifications

Mobile Push Notifications Tutorial

In this tutorial, you’ll discover how to set up and add mobile push notifications to an application.
Android (Kotlin)iOS
Simple Chat App Preview 2
In-App Chat

Simple Chat App with Chat Components

In this tutorial you’ll discover how to set up and build a simple standalone chat application using PubNub Chat Components. Components are ready-made building blocks to add chat features to new or existing apps. Please note that PubNub will discontinue support for Chat Components on January 1, 2025. They will remain open-source and community-maintained but will no longer receive feature updates from PubNub.
React Native