It's very simple - green wires to your transformer, screw terminals to the track. Swap wire on screw terminals for whistle if you are getting bell instead.
This device does not work well on multiple throttle / multiple transformer common ground layouts, but is fine for a one train one transformer layout.