From a WP article on Instant Pot recipes.
The rice is made separately, which I would do in my rice cooker; I have a Zojirushi rice cooker that I absolutely love and use all the time. DON'T BUY AN AMERICAN BRAND. I had an "Oster" rice cooker that was crap.
Ingredients
1 pound dry red kidney beans, soaked overnight
3 tablespoons extra-virgin olive oil
1 medium yellow or white onion (8 ounces), chopped
1 green bell pepper, chopped
1 celery rib, chopped
4 garlic cloves, chopped
1 tablespoon salt-free Creole seasoning (such as Tony Chachere’s)
2 teaspoons smoked paprika
4 cups Scrappy Vegetable Broth or store-bought no-salt-added vegetable broth
1 bay leaf
2 cups basmati or other long-grain white rice
3 cups water
2 teaspoons soy sauce, plus more to taste
2 teaspoons Tabasco or your favorite hot sauce, plus more to taste
1 teaspoon fine salt, plus more to taste
Chopped scallions, for serving (optional)
Instructions
1. Rinse and drain the kidney beans.
2. Set a programmable multicooker (recipe tested in 6 qt Instant Pot) to SAUTE. Let the pot heat for 2 minutes, then add the oil and heat until shimmering. Add the onion, green pepper, celery and garlic and cook, stirring occasionally, until softened, about 5 minutes. Stir in the Creole seasoning and smoked paprika and cook until fragrant, about 30 seconds
3. Add the beans, vegetable broth and bay leaf. Secure the appliance’s lid and make sure the steam valve is sealed. Select PRESSURE (HIGH) and set the cook time to 1 hour. (It should take about 10 minutes for the appliance to come to pressure.)
4. About 20 minutes before the beans are ready, make the rice: In a saucepan over medium-high heat, combine the rice and water and bring to a boil. Reduce the heat so the water is at a simmer, cover and cook for 15 minutes. Turn off the heat and let the rice sit for 10 minutes, then uncover, fluff with a fork and cover again if needed to keep warm until serving.
5. When the beans have finished the 1 hour of pressure cooking, release the pressure manually by moving the handle to “Venting,” covering your hand with a towel and making sure to keep your hand and face away from the vent when the steam releases. Open the appliance and check to see if the beans are falling-apart tender. If not, return them to PRESSURE (HIGH) for 10 minutes at a time, manually releasing the pressure and steam each time, until they are very tender.
6. Stir in the soy sauce, Tabasco and salt. Taste, and season with more Tabasco and/or salt as needed. Use a wooden spoon or bean masher to smash some of the beans, or use an immersion blender to very briefly puree some of the beans in the pot. (You can also scoop out a cup or so, puree in a blender or food processor, and return them to the pot.)
7. Divide the beans among shallow bowls and add a scoop of rice to the center of each. Sprinkle the scallions, if using, on top. Pass more Tabasco at the table.