1. You can apply to UL to come and certify your specific box. ETL can do this too, sometimes cheaper. This is expensive, and will be a recurring cost for every panel design/build and every change to every panel and every recurrence of production of those specific panels...you get the idea. If you do one panel design in serial production, and the design hardly ever changes, then it may be worthwhile (we do this for one type of panel).
2. Find a UL certified control panel manufacturer - these guys have UL certification to build control boxes using UL recognized materials and components and do the work per UL standards, to function per the user's specifications. They do the work of #1, for a fee, but usually cheaper for the one-off stuff than #1. The underlined term is your google search entry, also try UL 508A and UL 698A and NFPA 496 as well, depending on the type of panel you are building, or having built.
3. Find a UL label and copy it, attach it to your product. This is the cheapest possible method, but comes with a hidden follow-on cost: you take the money and get out of town, because once somebody checks the listing number, and finds that manufacturer never built your panel or ever heard of you, then you are in trouble.
Edit: added #3.