Completing the remote connection between a Master Temp 400 and Jandy RS8 control board

Hello-

I’m trying to complete the installation of a new Pentair Master Temp 400 heater and my existing Jandy RS8 control system.

My question is… how do I make the connection between the heater and the Jandy control board? Jandy has a 4 wire system (red/blk/white/yellow) that came off the origianl Lxi heater I had previously installed. Where do the wires from the Jandy controls connect to the new Pentair heater? After the connections are made, can I control the heater temp setting from my Jandy One-Touch control panel?

Any help would be great!