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.
Shelly One WIFI Switch - Scargill's Tech Blog
Make a dumb doorbell smart with Shelly 1 - Share your Projects
Home Assistant Shelly i3 on the default integration does not
Shelly support group (English Version)
Virtual Energy Meters with PowerCalc
Making a doorbell smart using a Shelly 1 and Home Assistant
GitHub - jorisroovers/casa: Home Assistant setup for our home
I want to make my garage door smart : r/homeassistant
Home Assistant, This.
Make a dumb doorbell smart with Shelly 1 - #125 by capsel22
Why I Fully Automated My Net Zero Smart Home - Undecided with Matt
31 DIY Alexa Connected Smart Doorbell
Getting tired of my 8 year old smart home. : r/homeautomation