Spiders are beneficials that eat the insects that feed on plants and vegetables in your garden.
How do I attract spiders?
Plant the things that spiders like. Orb spiders like to make their webs off sunflower stalks. Jumping spiders do not create webs, they lay in wait to trap insects near flowers so plant flowers to keep them happy. A planting pot turned on its head in your garden might create a shelter for spiders to build their small webs and trap an unsuspecting meal.
Spiders eat more insects than just about any other creature. More than birds, bats or ants, all of which are voracious insect eaters.