the passage to describe how to set up the shared folder can be found here:http://www.virtuatopia.com/index.php/VirtualBox_Shared_Folders
if you want to mount the shares folder at the system startup. One more line should be added into /etc/fstab:
shares /mnt/shared vboxsf rw,gid=100,uid=1000,auto 0 0