Confidence Intervals for Boosted Regression Trees

Hello,

I'm working with boosted regression trees and I've noticed that in some works, partial dependence plots have confidence intervals made with bootstrap sampling.
Anyone who has already done this can please provide an example to help me?

Thank you in advance!