PubNub
During the tour you may want access to your IDE or new windows to see your code working. You’ll get the best experience viewing on a larger device.

Set up messages

All PubNub-powered applications use messages, whether that’s a chat message, device sensor readings, GPS coordinates, or other type of data. All messages are sent in channels, and for a device or user to receive that message, they must join that channel by subscribing.

As well as receiving messages, you can also use channels for sending, retrieving, securing, deleting, augmenting, and more.

Try it out

Edit the code below from Change_Me to my_channel

Click Subscribe to connect to the channel to start receiving messages

Subscribe
Subscribe to my_channel
Messages
See it working for real!Open the PubNub debug console in a new tabor scan this QR code.