How to correctly setup a GitHub to Web Push integration

GitHub logo
Web Push logo

GitHub is a web-based platform where developers store code, track changes, and collaborate on projects. With MagicBell's GitHub integration, your team can get notifications directly linked to their GitHub workflow.

Web Push is a technology that allows you to send notifications to your users' devices even when they are not on your website. It is a powerful tool to engage your users and bring them back to your website.

MagicBell makes it incredibly easy to combine the two, so that GitHub can be used as a source of events to be sent via Web Push.

Step 1: Setup GitHub

PUT
/integrations/github
Schema Type: "object"
Required Fields:
webhook_signing_secret

Properties

webhook_signing_secret "string"
required

The signing secret to verify incoming requests from Github

Example Request

{
  "webhook_signing_secret": "whsec_e5cf4458caae49ae72d8f275deb9b63bdd41dd5c932c27c9346d428fb9e1d0a0"
}

Step 2: Setup Web Push

PUT
/integrations/web_push
Schema Type: "object"
Required Fields:
public_keyprivate_key

Properties

public_key "string"
required
private_key "string"
required

Example Request

{
  "public_key": "<string>",
  "private_key": "<string>"
}

Specialized Integration Guides

Below are some more specialized guides for individual GitHub events: