Using Bayesian for estimating parameter

I am referring the document. At the 7 page, the same way which I am doing. The likelihood just is estimated through Stochastic method based on gPC. Now I have a histogram as the power in the document depends on s.
How to apply the bayesian infernce to that?