- From your slack home page, while logged in, choose Customize Slack option in the drop-down menu at the top left corner of the page. A new Customize Your Team window should be opened.
- Click on the Configure Apps option in the menu to the left. A new window with a list of apps should be opened.
- Choose Custom Integrations on the menu to the left.
- In the list of integrations, choose Outgoing Webhooks. A list of current E-gineering Custom integrations will be listed.
- If a Chuck Norris Configuration isn't already present, click the Add Configuration button, and follow the set-up instructions below. If one does exist, then just click on the edit button to the right of the current Chuck Norris configuration.
Channel: Any
Trigger Words: chucknorris (this will allow upper- and lowercase anywhere in the word, i.e. chuCkNorris will be accepted)
URL: URL of your service endpoint
Token: Caution! This value should be changed during initial set up only:
- click the Regenerate option just below the dialog box.
- Set the resulting token value to an environment variable named CN_EXPECTED_TOKEN available in whatever server is hosting the service.
- Any time the token is regenerated in the Slack configuration, it must also be updated in the system's environment
Descriptive Label: appropriately describe the service. Currently: "A random, inexplicit Chuck Norris joke can be delivered from the heavens in the same way that Check Norris delivers earth-shattering roundhouse kicks."
Customize Name: Chuck Norris
Customize Icon: Use any icon you wish. A grayscale caricature of Chuck is a great option.
A preview of the bot will be shown. Check that it appears the way you want. Choose Save Settings once the service is configured.