Prep the Beans. To start, rinse the dry black beans in a colander or strainer. Sort out any damaged beans, rocks, etc. and discard them. Add rinsed and sorted beans to the Instant Pot
Build Flavor. Add onion, garlic, bay leaf, and 1 tsp. salt, then cover with water or broth.
Secure the lid and double-check that the pressure valve is set to SEALING (not "venting").
Press MANUAL/HIGH PRESSURE and set beans to cook for 30 minutes. (It takes my instant pot about 10-12 minutes to come up to pressure.)
When the beans are finished cooking for 30 minutes, naturally release the steam 20 minutes.
Quick-release any remaining steam by carefully moving the sealing valve from "sealing" to "venting" (I like to wear oven mitts when I do this, just in case)
Remove bay leaf & onion (if using) and season the beans to taste with salt.
If for some reason your beans aren't quite tender yet, you can put them back in for another 5-10 minutes at high pressure & quick release the steam until you get to the softness you prefer. If your beans are older or your Instant Pot is a different size than mine, your exact cook time may vary.