Vex motor programming..

Hi I realized our team lacks small motors and I wanted to know how to implement a vex motor into our system. I want to know how to connect the vex motor and how to program her.