Developer Path

Four Steps to Build a Real-Time In-App Chat

Discover

Overview

In-app chat is a chat interface within an app or product, enabling users to communicate in real time privately or in a group.

Our complete guide to Chat APIs, including use cases and how to choose the right API for your need

Cartoon rocket icon with red flames on a dark background.

PubNub Chat Live Demos

Recommended if you are building a chat application or adding chat to an existing app. A fully featured implementation written with the PubNub Chat SDK in Typescript showing both group chats and 1:1 conversations

The Chat SDK is a framework-agnostic API for TypeScript and JavaScript developers to add chat to their application. This demo, written in React Native, shows one way to target mobile platforms.

Build real-time chat in 10 lines of Javascript.

Learn how to create a cross-platform in-app chat using our Flutter SDK.

Magnifying glass over a document icon representing document analysis or review.

Customer Use Cases

Veeps relied on PubNub to provide a reliable real-time chat for their users so that they could connect during live-streamed concerts.

Felix Digital is leveraging the power of In-App Messaging capabilities to deliver a reliable and secure chat experience within its live score application.

How-To Guides

Users can be invited to channels, join channels, and leave channels all maintained by PubNub at any scale, with real-time events being sent to notify participants of changes.

Make Chat more fun with reactions and emojis

Enable threads for any message, so conversations can continue without affecting the main channel. Threaded messages have the same capabilities as regular messages.

Suggest users and allow people to be tagged with @Name, notify people when they are tagged and define custom behavior when names are clicked. You can also reference #Channels.

This guide will show you how to ensure your chat application is designed and optimized for user interactions.

Tutorials

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.

This tutorial will guide you through creating a simple chat app using the flexible PubNub platform SDK: Sending and receiving chat messages, presence, and looking up past messages.

Docs / Tools

This SDK offers a set of handy methods to create your own feature-rich chat or add a chat to your existing application.

PubNub SDKs are built on top of the core PubNub Network, with over 15 PoPS (Point-of-Presence) globally, response times of less than 100 milliseconds, and 99.999% uptime SLA. Generic and flexible, they are more than capable of powering your next chat implementation.

GitHub Links

Recommended if you are building a chat application or adding chat to an existing app. A fully featured implementation written with the PubNub Chat SDK in Typescript showing both group chats and 1:1 conversations

This demo, written in React Native, shows one way to target mobile platforms

Chat application built with our JavaScript SDK.

Chat application build with our Flutter SDK.

Resources by PubNub

Take your chat to the next level with language translation, Giphy Bots, and more.

External Chat Learning Resources

Agora and PubNub offer tools that make building communication software with video and text communication features quick and easy.

Build a scalable multivendor marketplace app with real-time chat features, push-notifications and geo-location tracking capabilities.

Ready To Get Started?