To check that your webcam is recognized, see the journal just after you plug the webcam in. Most recent webcams are UVC ( USB Video Class) compliant and are supported by the generic uvcvideo kernel driver module. dev/video0) are handled by udev, there is no configuration necessary. Permissions to access video devices (e.g. Most probably your webcam will work out of the box.
This is a guide to setting up your webcam.