You can use the kinect in two ways, Frist less computational. You extrackt a scan line from your kinect pcl stream and use it as the imput for a classical slam
See here: wiki
Or you use the full pcl an starts with 3d slam also known as Rgb D slam. see here: youtube
Or read here : wiki