Turn your instant pot to sauté mode. Heat oil and add the onions and cook till translucent.
Add crushed garlic and salt and crushed red pepper and optional cayenne pepper.
Add the sauce and 1/2 the basil. Turn off sauté mode.
Add the water and stir.
Add the pasta and lightly submerge in the sauce slightly. Don’t push it all the way down.
Turn on manual high pressure for 7 minutes and 6 minutes natural pressure release. Turn it off and stir.
Now add the cream and the ricotta cheese, save a little for the top and stir. It should now be thickening up.
Put your pasta in an oven safe dish and add the shredded cheese, ricotta cheese, chopped sundried tomatoes and remaining basil and bake it till the cheese melts and the flavors are nicely incorporated.