Each light is solar powered ( a few string lights is battery powered), so no extra wiring or electrical work is required. Just put them under the sun anywhere you want. Let them be exposed to the sun for a full day (make sure you already take the tab at the back of lid and turn on the switch).
The solar light has a solar panel that converts sunlight into electricity. During the day, the converted electricity is stored in the rechargeable batteries. At night, the solar light is powered by the batteries using the electricity stored during the day. The operating time depends on geographical location, daily weather conditions, and season. For optimal performance during the evening, allow the batteries to charge for 6 to 7 hours in direct sunlight.