Tutorials

Build faster with PubNub tutorials

Explore PubNub's tutorials for live chat, push notifications, geo tracking, and more.

Gaming
30 min

Add a live leaderboard and chat to a Unity game

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

Add mobile push notifications to a chat app

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

Build a chat app with PubNub

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.
JavaScript
Collaboration
20 min

Build a collaborative drawing app

In this tutorial, you’ll discover how to use PubNub to set up and power collaborative applications.
JavaScript
Collaboration
20 minutes

Build a live auction app

In this tutorial, you’ll learn how to build a Live Auction and Marketplace app that allows users to create live auctions and bid in real-time.
JavaScript
Geolocation
25 minutes

Build a live location sharing app

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
IoT Device Control
30 minutes

Build an IoT dashboard with PubNub

Run an IoT dashboard with simulated devices and see how it uses PubNub to receive readings, track moving devices, show which are online and send them commands and firmware.
JavaScript
Alerts & Notifications
1 hour

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
Real-Time
15 minutes

Stream real-time data with PubNub

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