it has a cord  in and I don't need an electrician to have a light in my dining room