Wash the black beans very well in water and add to the instant pot.
Also add the sliced onions, water (or broth) and salt to the instant pot.
Also add all the spice powders, lemon juice and sauces, mix well.
Close the instant pot with lid in sealing position, cook in high pressure for 30 minutes. If you want very soft black beans, you may cook for about 35 minutes instead of 30 minutes.
Once the cooking is done, wait for a natural pressure release.
Once the pressure is all released, carefully open the lid and stir the contents.
Add heavy cream or coconut milk if using, stir in and garnish with chopped cilantro leaves, if desired.
Enjoy the seasoned black beans as a simple, delicious soup or serve with rice!