Heating pool

How should inlet/outlet valves be set on a pool/spa setup if i want to heat up the pool instead of the spa?

Pentair mastertemp 400 heater