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.
31 DIY Alexa Connected Smart Doorbell, Add Dumb Doorbell to Home Assistant
Make a dumb doorbell smart with Shelly 1 - Share your Projects! - Home Assistant Community
Make a dumb doorbell smart with Shelly 1 - #143 by jobganzevoort - Share your Projects! - Home Assistant Community
Make a dumb doorbell smart with Shelly 1 - #39 by janser01 - Share your Projects! - Home Assistant Community
Sonoff Doorbell 2024
Shelly One WIFI Switch - Scargill's Tech Blog
Make a Dumb Air Freshener Smart With Shelly Device : 6 Steps - Instructables
Shelly 1 - Shelly USA
Making a fireplace smart - details in comments : r/homeautomation
Sonoff Doorbell 2024
Is there any HomeKit device I could hook up with this? I keep getting locked out because my front door is smart but not the downstairs door😅 : r/HomeKit
Sea slug Spooky Lamb diy smart doorbell home assistant social Penmanship Detailed
Hardwired power to a Smartthings button : r/homeautomation
Power Outlet Powered ONLY by Spare Solar PV (no More Exporting!) : 7 Steps - Instructables