Next, attach the slides to the pantry frame. These slides will allow the pantry to smoothly slide in and out. Make sure they are properly aligned and securely attached to the frame.