Plan old websockets in phoenix but without magic

Thanks

I took a look at https://github.com/phoenixframework/phoenix_pubsub

So where do I put this kind of Phoenix.PubSub.subscribe(MyApp.PubSub, "user:123") into ? Maybe my ws handler for each connection ?