Put the borlotti beans in a large bowl, cover with cold water and leave to soak overnight. Drain and rinse under cold water.
Melt the butter in a large saucepan and add the onion, garlic, parsley, sage and pancetta to make a ‘sofrito’. Cook over low heat, stirring once or twice, for about 10 minutes, or until the onion is soft and golden.