Gimbal 12V motor with encoder

For the gimabal 12V motor with encoder there seems to be a JST connector attached. Can anyone let me know the size, so I can get a connector for the TMC6300 board. Additionally, the 12V gimbal motor WITHOUT an encoder does not have any wires attached in the image. Do you attach them yourself? Or is it just an image discrepancy! Additionally, does that mean for the gimbal with an encoder you have to attach additional wires?

They ship as pictured:



W/O encoder you do solder wires yourself; w/ encoder comes wired

The JST is a 3-pin 1.0mm