Its now in a plugin, that’s the easiest way to implement. Here is the post about it:
This post describes the sequence of events
This post has links to an example app …
Have fun with it, @lukas991