A 50/50 mixture of borax and sugar will help to control ants. Sugar is what the ants are after and they wont be able to tell it has been mixed with Borax.
Diatomaceous Earth, commonly called “DE” is super fine rock that has been crushed into powder. There are many varieties of it, including food grade diatomaceous earth which is generally safe to be consumed.