It is recommended to have a professional install a gas fireplace to ensure that it is installed safely and according to local codes and regulations. A licensed gas fitter or fireplace installer can handle the installation and ensure that all safety requirements are met.