How do I integrate PubNub with my app deployed on RedHat's OpenShift PaaS offering?

Please see the PubNub/OpenShift Quickstart demonstrating a Stock Quotes app implemented in Python 2.7