Although ants are generally beneficial for the garden ecosystem, an excessive number can cause damage. At that point, it's worth using a simple but effective trap to solve the problem quickly.
You can buy this Pure Original Ingredients Borax from Amazon. Alternatively, try these pre-made, Borax-containing Terro Ant Killer Liquid Ant Baits from Target. If boric acid isn't your bag, however, ...