The wire colors can vary from one manufacturer to another. Strip the wires enough to put test leads of a multimeter on them and find the two that give you +5VDC. Then solder them to pins that will wedge into the battery connectors. Label them so you can be able know which is ground and which is +5VDC.