Clean, wash and cut the beans into pieces. Put the beans into boiling salted water and cook for about 18 minutes. In the meantime clean, wash and drain the chanterelles well. Peel and finely chop the onions.
Wash the thyme, shake dry, put some stems aside. Pluck the remaining leaves from the stems. Leave bacon in a pan until crispy, remove from the pan. Add oil to the pan, heat up, add chanterelles and fry well while turning, add onions and fry briefly while turning.
Add thyme. Meanwhile, prepare the pasta in boiling salted water according to the instructions on the packet. Break the bacon. Remove 150 ml pasta water. Drain noodles, quench and drain. Pour beans into a sieve and drain.
Deglaze the chanterelles with pasta water, bring to the boil briefly and place in the pasta pot. Add beans, noodles and bacon, heat up briefly. Season to taste with salt and pepper. Arrange on plates garnished with thyme.