This is simple, it comes with brackets to add a headboard if you want to get one.  The legs were too long, but we just put our old couch legs on it.  Good thing because I am almost too short to get on the bed now, with our new mattress and box spring.  The legs in the picture look shorter than they are. (Or I got the wrong legs, it happens)