cs-icon.svg

PubNub

PubNub is a realtime communication platform which makes products for developers to build real time web, mobile, and IoT applications.
The PubNub connector will send a message to the specified channel through your PubNub account.

Set Up PubNub

Perform the following steps to set up the PubNub action connector:

  1. Click Configure Action Step from the left navigation panel.
  2. Click Action Step to configure third-party services.
  3. Within the Configure Action Step, click the PubNub connector.
    Pubnub.png
  4. Under Choose an Action tab, select the Send Message action.
    Select-Action.png
  5. Click the + Add New Account button to select your PubNub account.
  6. Now, add the Publish Key and the Subscribe Key of your PubNub account to connect it with Contentstack. You can generate the Publish and Subscribe key by navigating to Keysets in your PubNub dashboard.

    Refer to the Application Setup document for more information.

    api.png
  7. Click the Authorize button.
    Authorize.png
  8. Under the Channel name section, select the channel from your account where you want to send the message.
  9. Write the message you want to send to the above channel in the Message box and then click the Proceed button.
    Select-Fields.png
  10. Click Test Action to test the setup. In the output section, you can view the status of your action.
    Test-Action.png
  11. Once set, click Save and Exit.
    Save-Exit.png
  12. You can check the Debug console section in your PubNub account and you will find the message in the channel you specified above.
    output.png

This completes the PubNub connector’s setup.

Was this article helpful?
^