Connect the battery to the speed controller and the throttle. Follow the instructions included with the kit to connect each part. Typically, you’ll only need to plug the connector on the speed controller into the connector on the battery, then repeat the process for the throttle. Be sure not to touch the battery wires together, as this could create a dangerous spark! 
There are generally two types of e-bike: throttle and pedal-assist. Throttle e-bikes, common among food delivery workers, don’t require any pedaling, just a twist of the handlebar to get moving. Wing’s e-bike is pedal-assist. The bike’s battery provides a boost while you pedal — up to 20 mph — but if you stop pedaling, the bike slows just like a regular bike.
With hand-operated brakes, force is applied to brake levers mounted on the handlebars and transmitted via Bowden cables or hydraulic lines to the friction pads, which apply pressure to the braking surface, causing friction which slows the bicycle down. A rear hub brake may be either hand-operated or pedal-actuated, as in the back pedal coaster brakes which were popular in North America until the 1960s.
Firstly there's a magnetically-fired locking pin in the rear wheel, triggered by kicking a button on the hub. This is fairly secure in itself and almost impossible to remove without destroying the bike. In London, we'd pair it with a more traditional bike lock so there's a more obvious visual deterrent, though a LED matrix screen on the frame does issue a warning to would-be tea-leafs.
The federal Consumer Product Safety Act defines a "low speed electric bicycle" as a two or three wheeled vehicle with fully operable pedals, a top speed when powered solely by the motor under 20 mph (32 km/h) and an electric motor that produces less than 750 W (1.01 hp). The Act authorizes the Consumer Product Safety Commission to protect people who ride low-speed electric vehicles by issuing necessary safety regulations. The rules for e-bikes on public roads, sidewalks, and pathways are under state jurisdiction, and vary.