DocumentationBlogSupport
Log inSign up
Log inSign up
BlogSupport

Using PubNub for Enterprise Bots Behind the Firewall

June 11, 2018
Adam Kalsey
Adam KalseyAdam Kalsey leads the Webex Developer Relations team.
Using PubNub for Enterprise Bots Behind the Firewall

Building Cisco Webex bots and integrations that need access to behind-the-firewall resources is a challenge that regularly faces developers building Webex applications for internal use. Webex API events are delivered with an HTTP push model that requires your bot to be hosted on a web server that’s available on the public internet, but not all IT infrastructure allows for public web servers. To make this easier, we've worked with PubNub to create a reference architecture that allows enterprise applications to use PubNub's infrastructure to deploy bots and integrations behind the firewall.

PubNub is a publish and subscribe service that makes it easy to deliver events to applications in real-time, across a wide variety of network configurations. If the application can reach the internet, it can receive PubNub events. Today we're publishing a reference architecture, helper applications, and sample code that allow you to use PubNub as a transport to get your Webex events delivered behind the firewall, to mobile clients, or wherever you need them to go.

This reference architecture uses PubNub as your webhook URL, and PubNub will publish all webhooks to a PubNub channel. Your application subscribes to this channel, receiving all webhooks over this channel in real time. Minimal changes are required to your application, often only requiring a few lines of code to be added.

PubNub flow

We've published a GitHub repository containing sample code, instructions for implementation, and helper applications. The repository also contains a plugin for Howdy Botkit that makes any Botkit application use PubNub.

Sign up for PubNub's free developer trial and download the sample code to get started.

If you're at Cisco Live in Orlando this week, stop by the PubNub booth in the Investment Village inside the World of Solutions to talk about this reference architecture and many other ways you can build real-time applications with PubNub. And stop at the theater near the Investment Village at 2:50pm on Monday June 11 to hear Webex Evangelist Phil Bellanti and PubNub CEO Todd Greene talk about this architecture.

Blog Categories
  • Product Announcements
  • How To
  • Events
  • Developer Stories
Share This Article
Related Articles
Bots, Webhooks, Teams and Message Formatting - Oh My!
Product Announcements
Bots, Webhooks, Teams and Message Formatting - Oh My!
Jose de Castro
July 11, 2016
The Cisco Spark Depot: Bots and Integrations Have Arrived
Product Announcements
The Cisco Spark Depot: Bots and Integrations Have Arrived
Jason Goecke
November 1, 2016
Picking Your Framework to Build Bots on Cisco Spark
How-To
Picking Your Framework to Build Bots on Cisco Spark
Sacha Nacar
February 5, 2018

Connect

Support

Developer Events

Contact Sales

Handy Links

Webex Ambassadors

Webex App Hub

Resources

Open Source Bot Starter Kits

Download Webex

DevNet Learning Labs

Terms of Service

Privacy Policy

Cookie Policy

Trademarks

© 2023 Cisco and/or its affiliates. All rights reserved.