Turn the IP on to Saute.
Add the oil
After a couple min, add the onions and stir.
Keep cooking the onions about five min until softer and keep checking and stirring a few times.
Add the bell pepper.
Saute until softer, stirring to keep from sticking.
Add the tomatoes, garlic, paprika, cumin, oregano and salt and stir. Add the cayenne if using.
Cook for a few min, stirring occasionally.
Add the beans, broth and tomato paste.
Cook for a few minutes.
Add the pasta.
Stir and cover. Set the IP on Manual for four min
When it is done, quick release. Add the cheese to the instant pot and stir or have each person add the cheese to their individual bowls.