How to configure wlgreet

I would like to switch to wlgreet. lightdm is making trouble so I thought wlgreet is the convenient display manager for sway.

Which settings do I have to make?
With “update-alternatives” the display manager can be changed, but I have no idea how to set up wlgreet (update-alternatives --install …).