You use the pen tool, we have some tutorials here at the void