Hi,
Do you mean that you want to effectively link the Shellys, so when you turn on the heater the pump is automatically turned on, and the same for off?
You can set this up by creating actions on the "master" Shelly, one for on and one for off. The actions need to call a url, which is:
http://<IP of "slave" shelly>/relay/0?turn=on
I am using this to link multiple lights together, and the response times are good.