I have one of the little critters. #1 need is a relatively small grain sand. It cannot stand larger grains. .5 to 1mm size is ideal. Your fish will will rearrange your bottom as it builds one after another den in the sand. They will spit tailings from their construction projects over rocks and nearby corals.
While it will gain some food value from live sand, the average aquarium will not have enough to meet its needs. I feed mine frozen shrimp and fish bits processed with a food processor. It's not picky and will eat mysis or brine shrimp, flakes that make to the lower 1/3 of the aquarium. You need to get the food to the bottom if you have many surface feeders.
They are great citizens of the aquarium and tolerate other fish. They will defend their burrows but other than territorial defense they seem to get along with everyone. I see warnings not to put more than one in an a tank but, years ago, had two that lived in the same hole. May or may not been a male/female pair.
These fish provide a great deal of entertainment. Enjoy them but be sure to feed them.