Help with jigglebones for source.

I’m trying to make a hat for TF2 and I don’t know how to use jigglebones.
Are there any good tutorials for that?