Point your SDK at your own cluster
Designed to be compatible with the Ably realtime protocol and REST API, so the open-source client libraries can connect to PushFabric.
const client = new Ably.Realtime({
key: process.env.PUSHFABRIC_KEY,
realtimeHost: 'realtime.example.com', // your deployment
restHost: 'rest.example.com',
});
const orders = client.channels.get('orders');
await orders.subscribe('created', (msg) => show(msg.data));