Both dried or canned beans can be used in bean salads. Dried beans require soaking anywhere from a few hours to overnight and then boiling to achieve the soft texture of canned beans, so the total cooking time will be longer for dried beans. However, you can cook dried beans in an Instant Pot or other pressure cooker.