There are several classes of poison/bait. Not all is harmful to other animals. You should read up on which ever bait you choose.
RatX or MouseX is considered safe around pretty much all animals except rodents/gerbils/hamsters.
Others get metabolized so fast in rodent body they don’t harm...