Killing ants with baking soda does work but it can take up to a day or two for the ant to actually die after ingesting the baking soda.
A better way of killing off the ants is to set some glue traps or put some boric acid where the ants are which will kill the ants much sooner than the baking soda will.