Remove the mattress from the box spring and set it to the side. Remove any bed skirt you have between the mattress and box spring. Turn the box spring over so it is upside down.
Place the first headboard bracket on one of the top corners of the box spring, which is either of the corners that are closest to the wall when the box spring is in its proper position.
Drive screws through the holes in the bottom of the bracket and into the box spring frame using an electric screwdriver. Repeat with the bracket on the other side of the box spring and flip the box spring back over onto the bed frame.
Slide the headboard between the box spring and the wall so the legs touch the bracket. Use the electric drill to drill a hole through the headboard legs at the level you want to attach them to the brackets. Insert the included bolt through the headboard legs and into the bracket slots, and secure them with the included nut.