5099-POLOLU, JST SH-Style Connector Board for Micro Metal Gearmotors, 2-Pin, Side-Entry (10-Pack)
These adapter boards let you add connectors to your single-shaft micro metal gearmotors (not compatible with motors with extended back shaft). They are available with two connector orientation options—back-entry, which is parallel to the motor, and side-entry, which is perpendicular to the motor—and in different pack quantities.
The board mounts to the micro metal motor by soldering the motor terminals to the board slots. When mounted, the board fits entirely within the cross section of the motor.
Schematic Diagram and Dimensions