Filter through taxonomy

How can I manipulate page collections so that they only contain items of pages that have a certain value as taxonomy?

{% set page_collection = page.collection %}

It looks like you need to setup your collection with some taxonomy filters as in the docs

could you provide an example ? thanks !