Add a Shelly Blue Button1 to HA Green

I purchased some Shelly BLU Button1 devices and a Shelly BLU USB Gateway.

So I got the BLU gateway setup in HA, but how do I pair the Button1 with Home Assitant? And then how do I program the button actions in HA? Is there a support topic or link that explains this for new users?