I got this headboard to go with the platform bed.  It attaches (barely) with a couple of screws on each side and you MUST put it flat against a wall for support or it is going to snap off.  Our bed could not go flat against a wall due to a window behind it (needed to leave some space to be able to open and close the curtains freely) and I had to use foam blocks between the headboard and wall to support it.  What a cheap nightmare.