RO Reject water project

I installed pvc and 1" hose today.  For my RO reject water reclaim project thing.

A pump will be used because the ro reject tank could not gravity feed the holding tank.  The float switches on when the holding tank is low then it provides power to the solenoid and the pump.  This is through the "Magic" box.  The magic part I do not know how to implement yet.