Tutorials

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
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
Delivery Tutorial
Real-Time

Create a Delivery Application

PubNub’s APIs and infrastructure allow you to provide real-time updates on vehicle location, driver performance, and customer satisfaction, enhancing the user experience and enabling a more efficient operation.
JavaScript
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
IoT Device Control

Build an IoT solution using PubNub

This tutorial will show you how to create an IoT solution using PubNub, concentrating on architectural best practices
JavaScript
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
PubNub Real-Time Data Streaming Demo
Real-Time

Create a Real-Time Data Streaming application

This tutorial will walk you through two techniques to develop an end-to-end real-time streaming application with PubNub: Using the PubNub SDK and using the HTTP Streaming endpoint.
NodeJS