No, it does not attach to the camera. You simply put the lens into the box and submerge...but not too far or water comes over the sides.
It sounds more complicated than it is, if you had one in front of you it becomes quite clear...I think people who use P&S camera's place the entire camera into the box, for those of us using DSLR's the lens goes into the box and the body is out.