This is how you would attach headboard

This is how you would attach headboard


Photo via: industrystandarddesign.com