Getting started is simple. Follow these steps to get up and running.
Start by installing the CLI toolkit
RelayBox CLI toolkit ships with everything you need to get your dev environment up and running. Run the full platform locally with a few simple commands.
To begin, simply install the CLI toolkit using NPM...
npm install -g relaybox
Once the toolkit is installed sucessfully, let's go ahead and spin up the platform...
relaybox platform up
Learn more about the CLI toolkit npm install @relaybox/client
Next, Download the SDK Libraries
RelayBox provides client and REST SDK libraries that can be used together or individually depending on your requirements. The SDKs interact directly with the realtime platform, abstracting complex functionality into simple APIs.
Integrate realtime capabilities into client and server-side applications
It's really that simple. You're ready to begin integrating realtime capabilites into your apps and services. The SDKs and services are open-source and available to use without limitation. Benefit from:
- Secure authentication
- Socket connection management
- Client and server side SDK libraries
- Single digit millisecond message processing
- Realtime presence monitoring
- Guaranteed delivery, webhooks, metrics, configurable message history...
import RelayBox from '@relaybox/client';
const relayBox = new RelayBox({
publicKey: 'abcdef.abcdef'
});
await relayBox.connect();
const room = await relayBox.join('room');
await room.subscribe('firstContact', (data) => {
console.log(data);
});
const data = await room.publish('firstContact', {
hello: 'universe'
});
Scale globally with just a few clicks...
When you're ready to go live, simply generate a free API key and deploy your application. All platform software is open source, giving you the flexibility to either self-host or take advantage of our industry-leading managed cloud infrastructure.
Streamlined SDKs backed by industry leading infrastructure
Integration into your applications is straightfoward, using intuitive client and REST SDK libraries. Work offline or connect to managed cloud services for maximum reliability, secuity and performance.
Go to technical documentationOperate offline with ease using the open-source platform emulator
Accelerate your development cycle without worrying about unexpected costs. The RelayBox offline emulator is open-source and entirely free to use.
Install RelayBox offlineConnect to RelayBox Cloud for unparalleled performance, security and reliability
Leverage client and server side SDKs to enable rooms, topic subscriptions, publish events, connection and client metrics, presence updates, message history, secure connection lifecycle management, live authentication and more. Take the stress out of managing realtime infrastructure and focus on building and shipping applications.
Go to technical documentationimport RelayBox from '@relaybox/client';
const relayBox = new RelayBox();
await relayBox.connect();
const room = await relayBox.join('room');
await room.subscribe('firstContact', (data) => {
console.log(data);
});
const data = await room.publish('firstContact', {
hello: 'universe'
});
Streamline your realtime with industry leading, managed cloud infrastructure.
Traffic and usage visualizations
Use the dashboard to track connections, events and session data to gain vital insights into how your users interact with your applications.
High performance realtime infrastructure
Run your applications on tried-and-tested infrastructure to deliver reliable, low-latency, globally accelerated performance.
Rate limiting and anomoly detection out of the box
Built for indie developers and global enterprises alike, ultra-reliable realtime infrastructure services are available to all customers.
Whatever your workload, we've got this
We'll be rolling out several payment options over the coming weeks. In the meantime, you're encouraged to evaluate RelayBox with a free account to find out how we can accelerate your apps. If you have a custom plan in mind, we'd love to hear from you.
Basic
$0/month
- 2 free organisations
- Up to 4 free applications
- 100,000 events per day
- 100 peak concurrent connections
- Email based support (24 hr response time)
- Global network acceleration
Pro
$20/month
- Unlimited organisations
- Unlimited applications
- 1,000,000 events per day
- 1000 peak concurrent connections
- Real-time support 8am - 6pm weekdays
- Global network acceleration
Custom
$??/month
- Unlimited organisations
- Unlimited applications
- Scalable event limits
- Uncapped peak concurrent connections
- Real-time priority support 24/7
- Global network acceleration