Where you already able to connect it? Otherwise you can connect the cables according to how they are connected to your transformer. See this post 34 for more details. You should be able to use the way Rubueno describes the wiring.
Sea slug Spooky Lamb diy smart doorbell home assistant social Penmanship Detailed
Shelly support group (English Version)
Motion Sensor Door Chime for Business, Outdoor Doorbell Kit Wireless Driveway Alert: Infrared Motion Sensor Chime with 1 Plug-in Receiver and 1 PIR Motion Sensor Detector Alert - LED Indicators
Shelly 1 - Shelly USA
Home Assistant, Hi team
Make a dumb doorbell smart with Shelly 1 - Share your Projects! - Home Assistant Community
Make your doorbell smart by using esp8266 with HOME ASSISTANT.
Make a dumb doorbell smart with Shelly 1 - #82 by pabu - Share your Projects! - Home Assistant Community
Cutting out MyQ cloud from Garage Door control - 💬 Lounge - Hubitat