How to control a servo with telemetry

I am using a dc brushed water pump and a L298d motor controller. For now I am planning on experimenting with relay although eventually I want to experiment with variable speed.

I connected the motor controller to channel 5 from the FMU pwm out. I am using telemetry and qground control. How can I control the pump from qground?