Build

Getting Started with PubNub on IBM Bluemix

2 min read PubNub Staff on Sep 9, 2015
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.

How to get started with the PubNub Data Stream Network on the IBM Bluemix cloud development platform.

Earlier this year, we announced our new partnership with IBM to bring our real-time data streaming and messaging capabilities to Bluemix, IBM’s cloud development platform, making it easy to launch IoT, Web, and Mobile apps built on real-time communication that scale globally.

This blog post shows you how to get started with the IBM Bluemix platform:

PubNub is a secure global Data Stream Network (DSN) and easy-to-use API to connect and manage real-time, bi-directional communication for IoT, mobile and web devices. PubNub’s open-source SDKs are available for every platform and provide ¼-second worldwide latency. PubNub’s resilient infrastructure scales to millions of devices and billions of messages per day, offering 99.999% SLAs.

Using the PubNub service in IBM Bluemix

You can use the PubNub service via the Bluemix web console (note PubNub is currently not using the Bluemix binding mechanism but may do so in the future).

ibm bluemix catalog

From the Bluemix Dashboard, click the Browse Catalog button and select the PubNub service (icon shown above) from the displayed icons list.

PubNub-Blumix-Add-Service (1)

Click the Use button in the Add Service form (PubNub’s sandbox service instance is shown above), which will load up the dashboard launch window:

PubNub-Blumix-dashboard

Click on the window to open the PubNub dashboard:

PubNub-Dashboard

Next, copy the Publish Key (pub-…) and Subscribe Key (sub-…) to your app, which will enable you to send and receive real-time messages via the PubNub API using any of the PubNub SDKs that are appropriate for the programming environments of your Bluemix apps and devices.

Configuring the PubNub service

The PubNub service instance will be displayed on the Bluemix dashboard as:

Configuring-PubNub-Service

Click on the PubNub service instance to go back to the dashboard launch window and open the PubNub dashboard, which will allow you to inspect PubNub usage statistics (both real-time and offline), configure service parameters and try out any of PubNub’s add-on real-time communication features which are generally available via paid plans of the PubNub service.

PubNub Documentation and Support

PubNub documentation is available for the most popular SDKs. Further help is provided via the PubNub developer community and customer support (you can also send email inquiries to help@pubnub.com).

Please refer to the IBM Bluemix documentation regarding questions about Bluemix itself.

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