First remove the solar panel from the lamp.
Then open the camp lamp and connect the power line on the switch and other power line in the wire that is connected to the camp lamp’s leds
Then expand solar panel wire
Then connect the wires on the solar panel
Then hot glue everything together