A method for the manufacture of a component assembly comprising a sheet metal part (10) and a metal fastener element (12) attached to it by a riveting process or by a riveting and piercing process or by a press-in process, wherein the sheet metal part is provided with an imprint (14), wherein the imprint (14) is produced prior to attachment of the metal fastener element (12) and consists of a sequence (15) of regions (16, 18) which are raised and recessed relative to one another and wherein, during the attachment of the metal fastener element, it is pressed against the sheet metal part (10) in such a way that the imprint (14) of the sheet metal part leads to a complementary shaping of the metal fastener element in a region of the metal fastener element which comes into contact with the imprint (14).