I usually use Adafruit batteries that already have JST 2-pin cables attached. Adafruit also supplies JST cables. Then I get my solar panels from Voltaic and solder a JST connector on one of their bare wire cables.
Triple check any that you buy on Amazon because some reviewers say they aren’t the right size.
Let me know if that doesn’t answer your question.