Soak beans for 4 to 24 hours. If you do not want to soak then you need to 30 minutes cook time to the beans. See notes below.
Place beans, onions, and beef broth into the instant pot. Place the lid on the instant pot and set the valve to the sealed position. Press the pressure cook or manual button and set timer to 1 hour and 30 minutes for beans that have not been pre-soaked or 1 hour for beans that have been soaked for at least four hours to 24 hours.
Once the instant pot stops counting release the pressure by opening the valve. Once the pin drops open the pot.
Presoak beans only need to cook for 1 hour. Non soaked beans need to cook for 1 hour and 30 minutes. Always check the beans for tenderness before adding in the sauces and spices.