Add the olive oil, onion and garlic. Cook until the onion is translucent.
After the onions have become translucent add all of the other ingredients and put on the lid. Turn the venting knob to sealing.
Turn the venting knob to sealing.
On your Instant Pot press the “Keep warm / cancel” function key. Then press the “Manual” function key. Then using the + and - keys set the timer to 40 minutes.
When the Instant Pot comes to tempature confirm the vent seals and is not blowing steam.
After the Instant Pot seals the timer will start to count down. When the timer reaches 0 press cancel. This will ensure that the unit will depressurize. Let it cool down for twenty minutes or so.
Turn the vent to venting (be careful of steam coming out). Remove the lid and take out the bay leaves.
At this point your beans should be ready to use. But you should check (you never know if your beans were old).
Notes
If they need a little more time cook for two more minutes.