If you are using dry beans as opposed to canned you would soak them overnight and cook in the same time. The beauty of the Instant Pot is you can cook beans without soaking, if you go this route your cook time will be about 25 minutes, just remember to only through in the potatoes and green beans closer to the end.