Soak the white beans overnight in cold water, then boil until soft, adding salt to taste at the end
I always boil the beans in advance, and then freeze them in small portions. It’s convenient. I took a bag of frozen beans out of the freezer, defrosted them, and that was it.