Several methods may be used to prevent the buildup of snow on a metal roof. The most common is the usage of heat cables, which melt it toward the edges. Sidewalk salt or calcium chloride can also be added to the edges of the roof to help melt it. Keeping the attic at the same temperature as the outdoor temperature can also help with the issue.