It can be hard to track what the state of a project is after you have finished the initial build, so here we use webhooks to send data into discord to help us better manage projects. In this example we are making a channel for a project called tiny-tools , so anytime you see this reverenced you can replace it with your own project-name .

Table of content

Creating a webhook

Start by creating a new channel in Discord under the 🔔NOTIFICATIONS category by clicking the + icon.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/02bff5d1-4a6a-4430-be86-52dd4fffdcdd/Untitled.png

Then you will see a pop-up, select Text Channel and enter a name for you channel.

We to use the same name as the project repo on Github to keep names consistent. For example if the repo is named tiny-factories / tiny-tools then we could name the channel tiny-tools.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/137ca2a5-5227-48b0-a502-185164d96d8c/Untitled.png

Once the channel is created click the ⚙to the right of the channel name to edit

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/258ad0a8-85d4-44f4-b5f6-c437f8c2e610/Untitled.png

Select the Webhooks tab from the left hand side and click Create WebHook .

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d7216333-7d19-4fa7-a153-474d37eb3e53/Untitled.png

Give it a clear name so we can easily manage all the webhooks like Channel-Name-Service or in this case Tiny Tools Service.

Copy the webhook URL to a safe place for later

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/af9a65da-f198-4328-99c0-15549f6f16b7/Untitled.png

Connecting Github

Now we need to head over to Github in order to allow Github to send data to Discord. Head over to your repository and click on the ⚙️Settings tab. Then under the Webhooks section select add webhook .

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/cdbe8461-848b-497a-a769-acfe53b9e9ca/Untitled.png

You will be asked to authenticate.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/79c3d14b-6f79-47ff-88ef-fd3656c677ef/Untitled.png

Paste your webhook URL from earlier in to the Payload URL and add /github to the end of the url. Then select application/json from the dropdown.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/666ded1f-68a0-4e68-a1b6-6774d95b97f2/Untitled.png