It's the same concept as the car relay. 2 wires for the coil, and two poles instead of one.
Run the 240 power to the comp. from the breaker. At the compressor before the pressure switch is where the contactor should be.
Take the power from the breaker go into the contactor, from the contactor to...