There is a simple way to attach a mattress with headboard. First, you attach the legs of the bed to the headboard. At the back of the bed, there were some small holes pierce the bed base fabric. Screw the bolt into the hole and attach the headboard to the base. After attachment, adjust the height of the headboard.