Instruction: Extract information from the supporting document to answer the given question.

Input:
Question: how do u attach it to a metal bed frame
Document: I bought this to attach to a standard king inexpensive metal king frame with no footboard because its in a small room and I want to be able to sit at the foot of the bed. It works great and is comfortable to sit up against when reading in bed. Great buy for the $. Easy to install comes all one piece.
Purchased this headboard to attach toStructures by Malouf HIGHRISE Folding Metal Bed Frame 14" High Bi-Fold Platform Bed Base, KING. It arrived in 7 days. Very nice quality (bicast is not real leather, but a leather by-product), it looks like real leather and is a nice, simple versatile design. Because of it's smooth surface it should be very easy to wipe clean with a damp cloth if necessary.
So I ordered this on the 22nd from Amazon directly and it came on the 25th which was earlier than I expected. I was able to attach the legs to the headboard but had to ask someone to hold it while I attached it to my metal frame. The directions were straight to the point and it looks really great in my room. I love it
Love this headboard. I purchased this with the metal bed frame, it is a tight fit for the Queen size bed fittings so don't tighten your bolts until you have all the bolts in the designated slots.
This was packaged very well. There was no damage at all and was super easy to install to our existing metal bed frame. It was made for a King however I measured before ordering and the headboard fit the California King we had. Love the finish - looks and feels like a thinner leather.
This headboard is very well made and meets all my expectations. It came with all of the required hardware and attaching it to a metal frame bed was very easy. It is very sturdy and very well cushioned. It arrived very well packaged and in perfect condition. Could not ask for more given the quality and competitive price.
Pleased with the look and feel-- the only issue is that the product doesn't seem to account for having to secure the post to the wall. Would be nice to have a fitting and maybe a 90 degree iron angle to secure to abutting wall. Glad that it fit our cal king metal bed frame.
Our bed frame does not match up perfectly with the holes in the legs, but that's not a flaw of the styling - we have a cheap metal frame. Even so, I was able to tightly secure the headboard.My only issue with this Crown Mark Barlow Bicast Headboard is that it and the legs had a very strong chemical smell when I took them out of the box.
Everybody is impressed with this product and they can not believe it when I say that I bought this in amazon without looking at it before buying. It looks fantastic and fancy. Easy to install with my metal frame. Solid and durable, pretty nice materials and the price is so right. I bought it for my new King size Bed and we are very happy. Go for it you will not regret it.
Are you kidding me with this price!! What a deal to get this quality in a king sized item for this money!! This headboard exceeded my expectations of how it would look and feel in person. The material is luxurious, the stitching is precise, and the coloring is outstanding. I really like that the mounting boards have threaded metal inserts to receive the heavy duty bolts that hold it to the headboard and also to the bed frame.
Answer: This came with screws, nuts and an Allen wrench, but they were too short for my needs.  I just have a simple, no frills bed frame.  Bought screws and matching nuts at the dollar store that were longer and things worked out fine. Any hardware store would have what you need.  It's simple.