We attached the headboard directly to the wall to get the height we wanted. If we had attached it to the bed it would have been too low. The side panels arrived damaged so we did not install them. To install the headboard on the wall we used the shorter screws that were intended to assemble the side panels. The headboard gave us a nice coastal vibe which was what we were hoping for.