Crescendo / Decrescendo one note with Dorio and Halion 6

Is there a tutorial or can someone explain to me how I make a self made sample instrument in Halion 6 able to playback crescendo and decrescendo on one note with Dorico?

I figured it out CC11