I am not sure what you mean, can you give more details? Thanks!
Here’s what we did with our electric fireplace: https://www.frugalfamilytimes.com/2019/05/how-to-build-faux-fireplace-in-corner.html?m=1
First you have to check your local laws. Most municipalities have requirements that you must meet and some may also require a permit. Most will have a website where you can look up the information, but if not, call them first, before you do anything so that you are sure your project complies with the local code. Wishing you the best.