Setting a timer for a Shelly switch

Hi there,

I’m very new to HA so please be gentle!

I’d like an idiots guide on how to configure a button on my dashboard e.g. a light to switch on for predetermined times e.g. 1 hour, 2 hours and 3 hours and then switch off once the time has elapsed.

Any help would be appreciated