Gutters are typically attached to a metal roof using brackets or spikes that secure them to the fascia board. It is crucial to ensure that the gutter system is installed at the correct height, maintaining a close proximity to the roof line and providing a slope for proper drainage. Hiring an experienced contractor who specializes in metal roofs is essential to ensure the proper installation of the gutter system.