it is fairly straight forward once you've got it working once...
1) the button must be detached otherwise it directly changes the output status of the shelly
2) the SW input can have a url set for the on action and off action which sends the pushes or on/off into a virtual input in loxone
3) if you have a retractive physical button, only the on action is sent and is usually configured as a pulse - each press of a retractive button has and on and off which would be the loxone equivalent of a double click if you sent both, which usually turns off a lighting block....
4) if you have a normal switch, you can either send the on and off to loxone, so loxone knows whether the switch is on or off, or you can set the on and off to both send a pulse, so each change of the switch acts like a retractive push
under the 'actions' section, button switched on and off you input the url to operate the loxone virtual input:
http://user:pass@minserver-IP/dev/sps/io/VIxx/pulse
http://user:pass@minserver-IP/dev/sps/io/VIxx/on
http://user:pass@minserver-IP/dev/sps/io/VIxx/off