How do I use a headboard intended to mount on a wall onto a bed frame instead?
(source)

You either screw it, or the legs you're going to add to it, to this (where it looks like a bracket on the end there).