Real-time Chat Blog

Web Messaging API in 5 Steps: Quick Start Tutorial

2 min read Joe Hanson on Aug 18, 2014
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

We've released our 5 step quick start tutorial on using our web messaging API built with PubNub to build a web messaging application.

Good News

Good News! We’ve launched an all new Chat Resource Center.

We recommend checking out our new Chat Resource Center, which includes overviews, tutorials, and design patterns for building and deploying mobile and web chat.

Take me to the Chat Resource Center →

We talk a lot about how easy it is to use the PubNub web messaging API. Well, it’s not just marketing jargon. With the release of our new Quick Start Tutorial, we’ll show you how to build a messaging app with our web messaging API in five steps.

Web Messaging API

We wanted to show you how easy and simple it is to get up and running with PubNub. The Quick Start tutorial is broken up into 5 steps, and walks you through installing the libraries, publishing messages, subscribing to messages, sending messages to other devices, and you’re done! After that, you can check out other PubNub features including Presence, Storage & Playback and PubNub Access Manager.

Web Messaging API 1

Just a reminder, to get your unique pub/sub keys, you’ll first need to sign up for a PubNub account. Once you sign up, you can get your unique PubNub keys in the PubNub Developer Portal. Our free Sandbox tier should give you all the bandwidth you need to build and test your messaging app with the web messaging API.

Additional Web Messaging API Resources

That’s the simplest we can make it. But maybe you want a little bit more and you’re building out a more robust messaging layer. This pub/sub with PubNub Data Streams is at the core of it, but we’ve got a lot of demos using our web messaging API:

More from PubNub

Top Trends to Engage Your App Users
InsightsSep 27, 20224 min read

Top Trends to Engage Your App Users

Take a look at the top trends that are the most effective in attracting customers and reducing churn, and how you can incorporate...

PubNub Staff

PubNub Staff

Comparing Game Engines: Unity vs Unreal vs the Rest
Real-Time Gaming BlogSep 21, 20225 min read

Comparing Game Engines: Unity vs Unreal vs the Rest

Comparing the major game engines: Unity vs Unreal Engine vs Corona SDK vs GameMaker Studio, including the benefits and cons of...

PubNub Staff

PubNub Staff

Python Socket Programming: Client, Server and Peer Libraries
BuildSep 21, 20226 min read

Python Socket Programming: Client, Server and Peer Libraries

Sockets (aka socket programming) enable programs to send and receive data, bi-directionally, at any given moment. This tutorial...

PubNub Staff

PubNub Staff