2 min readUpdated Oct 27, 2022

New Ably tutorials on presence and client/server authentication

We’ve added three new tutorials to help you use some of the more popular Ably features:

Presence Tutorial

Presence enables clients to be aware of other clients that are currently “present” on a channel. Each member present on a channel has a self-assigned name — a “client ID” — along with an optional payload that can be used to describe the member’s status or attributes. Find out more about identified clients and authentication

Presence allows you to quickly build apps such as chat rooms and multiplayer games by automatically keeping track of who is present in real time across any device.

Screenshot from the presence tutorial

Presence resources

Browser Client & Server Token Authentication Tutorial

Ably supports two types of authentication schemes. Basic authentication uses one of your private API keys and is the simplest scheme designed for use by your servers. Token authentication is mostly used by your client-side device and browser clients whereby a short-lived secure token is issued to them from your servers.

Get started with the tutorial

Screenshot from Ably Browser Client & Server Token Authentication Tutorial

Mobile Client & Server Token Authentication Tutorial

Most of our other tutorials demonstrate the use of the simple basic authentication scheme. In this tutorial we are focusing how you can use the recommended token authentication scheme for your un-trusted clients.

Get started with the tutorial

Screenshot for Ably Mobile Client & Server Token Authentication Tutorial

Hope you find these tutorials useful. If there are others you would like which we have not yet covered then get in contact.

Join the Ably newsletter today

1000s of industry pioneers trust Ably for monthly insights on the realtime data economy.
Enter your email