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.
Virtual Energy Meters with PowerCalc
Tatham Oddie – Tatham Oddie
Make a dumb doorbell smart with Shelly 1 - Share your Projects
Making a doorbell smart using a Shelly 1 and Home Assistant
Home Assistant I have a time pattern trigger (Work routine alarm
Make a dumb doorbell smart with Shelly 1 - Share your Projects
31 DIY Alexa Connected Smart Doorbell
Make a dumb doorbell smart with Shelly 1 - Share your Projects
Make a dumb doorbell smart with Shelly 1 - #143 by jobganzevoort
Make a dumb doorbell smart with Shelly 1 - #102 by arganto - Share