Several ways, but the most stable method I have found is to use rocks and expanding foam filler. There is a black type that is sold for water falls that works great in aquariums. The yellow-tan construction stuff is also aquarium safe (once it has set up) and may blend better with some rocks and substrates. It can be sort of bright, though.
This method can work with UGF plates.