Gain depends on the source (receiver) output voltage. Its different for everyone. For example, when I ran Audyssey I had to set my gain knobs to about 8 o'clock. When I want some bass in music I'll crank it 12 or 3 o'clock.
There are a couple guides here somewhere explaning how to use a relay to switch on the amp.