To an Instant Pot add black beans, broth, shallot, bay leaf, and garlic. Season with salt and pepper. Place lid on Instant Pot and set to Manual, High and set time for 35 minutes.
Let natural release for 15 minutes, then turn valve to quick release making sure to wait until cycle is complete before unlocking and removing lid. Season with more salt and pepper and garnish with herbs, if desired.