How do you put YAML to use in your system?

I can across a way to reference YAML values in the body of a note and I am not able to find the tutorial anymore.

I use custom YAML for dataview and there are some times that I want to have things like Authors in YAML for dataview tables and in the body of a note without having to copy paste this info.

Thanks!