At times you will need to add an AC interface to you panel’s enclosure.
One such interface is the IEC type sockets and plugs.
Consider those with AC line filtering built in.
The sockets come in flange mount and snap mount types.
For more information on these type of connector refer to:
Some have fuses and on/off switches built-in.
Check component vendors listed below.
Below is an image of a IEC C14 type flanged socket( not to scale)