Have you seen the Diagramm in this thread?
You have to connect your valves to the Ports 1-8 and the C Port. The function of the Main valve / Pump Relais is independent from that. If the Irrigation starts on a Zone, the Port for the Main valve / Pump Relais gets 24 VAC too.