So long as the dwarf cichlids don't harass the shrimp or bite off its antennas, it will do fine. I have mine in with a Ctenopoma Acutirostre and it kind of watches the shrimp like it's curious, but otherwise ignores it. Make sure to give it lots of good hiding spots as its kind of shy, and it needs a safe place to molt, as they are very vulnerable after a molt when their new exoskeleton is still soft.