YUMO Encoder & Arudino Motor Shield v2.3

I am trying to interface an arduino motor shield v2.3 with a YUMO encoder e6b2-cwz3e and I am having no luck. Anyone know how to wire it into the shield? I also need to have an input for one stepper motor.

Thank you.