Set the Instant Pot to "Saute" and add the butter. Add the bacon and cook until about done (you can skip butter if the bacon is super fatty). Add the onion and cook until translucent
Add the chicken stock, peas, and seasonings.
Set instant pot to "Beans" and let cook for 15 minutes. Once the timer is done slow release the pot.