@turkay1-- I'm actually not sure that diatomaceous earth is completely safe for pets. Some people say it's safe and others say it's not. I have read that however, the dust from diatomaceous earth shouldn't be inhaled.
I use diatomaceous earth on pet beds but I don't let them have access to their beds until I vacuum everything. The same thing goes for carpets. When I'm applying diatomaceous earth, I close my nose and mouth and make sure that all the pets are in a different part of the house.
My personal conviction is that diatomaceous earth shouldn't be used on animals to kill fleas. It can be used around the house and the garden as long as you take care not to inhale it. You can also ask the place where you buy diatomaceous earth about how it should be used.