Both.
although in my lobster tank i just have slate to make good caves.
in my crab tank i have a small piece of bogwood on top of everything to make an area of of water.
in my other tank i have a massive chaunk of bogwood on 1 side then 2 bits of slate on the other.
you just have to fiddle aorund to see what you can fit in and what you like