Setting up the configuration is pretty much easy. Go to the repository settings:

And now go to the webhooks page:

Add a new Webhook:

You can set up in the next way:

GitHub will send a request to do a sanity check. Just to make sure the address exists.