Tutorials

Chat SDK Tutorial
In-App Chat

Build a Chat App with the PubNub CHAT SDK

PubNub's Chat SDK is the easiest way for developers to create new chat applications or add in-app chat to existing applications with support for users, messaging and conversation management. The SDK also supports advanced messaging features such as quoting, unread message counts and mentioning users.
React
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
Interactive global map showing a single active user in Seattle with information about the city and its connection to the grunge music scene.
Geolocation

Geolocation Tracking Tutorial

In this tutorial, you’ll discover how to build a geolocation tracking app that allows users to share locations and send messages in real-time, as well as integrate with ChatGPT to provide information about your location.
JavaScript
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
Virtual Events

Virtual Events Chat

This tutorial will guide you through adding chat and reactions to a virtual event application 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
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
Gaming

Unity

In this tutorial, you’ll discover how to use PubNub to power leaderboard and chat in a Unity game.
Unity