Streamline-Card not getting any Template

According to the documentation it should be in the main dashboard configuration file (which one is that exactly ?), but then I only get errors about an unknown tag,

After this I decided to follow one of the examples and not use yaml, but the UI.

Put the example code at the top of my dashboard file and it works, just like the decluttering card.

Now to find out how to use the yaml example.