How to setup Collection metafields?

Show Collection metafield in your Collection page needs to insert the below code in the collection.liquid file.
Collection file path: Login into Admin panel-> left side menu select Online store -> select Themes.
Now left sidebar load with file list. Check at Sections bottom of the list “collection.liquid” file, click on it.
Insert below code where you want to show metafield at this position in the file and save it.
{% include 'all-in-one-metafields', metafields: 'collection' %}

For a quick view of all the above step check the below image