Previously it was done through writing bot first, clicking a button, copying the token, and pasting it into the web interface. The new flow is way simpler: click the link to write bot a message, then click the "Check" button in the web UI and you got notifications enabled.