How to install a Lionel sound button

Join the discussion on the following article:

How to install a Lionel sound button

I am using a ZW transformer and would like to wire a Lionel 6-5906 sound activating button. Is there a correct placement of the red and black wires, or do they just go between the transformer and the center rail?

Same question except using a ā€œZā€ transformer?