That depends on which country you are in.
Any mains level installation in many countries requires installation be done and inspected by a certified electrician.
Reason being, some sneaky diyers have no idea of the wiring rules and regulations and put peoples lives in danger.
You will find with...