Raised garden beds should have a base of organic material like grass clippings, leaves, wood chips, straw, etc. Over that layer, lay the cardboard to protect it. Both the organic and the cardboard waste will be composted, with the cardboard serving as a weed barrier.