Press saute setting on the instant pot.
Once heated, add olive oil or 1/2 cup vegetable broth, onion, garlic, carrots, and salt. Cook until onions are soft, press off the tab on your Instant Pot.
Add the remaining vegetable broth and the white beans, close the lid.
Close the steam releasing vent
Turn the instant pot to pressure cook on manual high pressure and for 35 minutes.
After 35 minutes and the instant pot beeps, use the quick release method to allow the steam to escape.
Once the timer goes off, cover the vent of the pressure cooker with a dish towel and immediately release the pressure. Remove the lid and stir in the spinach, then season with salt and pepper to taste.
At this point, the beans will be cooked but the soup will be watery. Set the instant pot to saute for 5 minutes and mash a few beans to create a heartier soup.