Sweet borax ant traps use sugar. Savory ones work well with peanut ... lid or container with a small lip (same as above).
Bulwark Exterminating suggests mixing 1/2 cup of sugar with 1 1/2 tablespoons of borax and warm water. Place the thick paste ...