A bed can include one or more connectors for connecting components of the bed. For example, a frame can include a fastening mechanism for releasably connecting a cross-member to a longitudinal support. Another example includes connectors for connecting and aligning a foundation with a frame.