How do I use only a taxonomy term in the path alias? I have content that is tagged with multiple terms from the same vocabulary. 
How can I use only the first term the node was tagged with, in the URL structure, e.g. domain.com/first/term/with/depth/node-title?

I am trying to do this with the Pathauto module and Drupal 8, but I can't figure it out. It either grabs all the terms used in that node or none.
I gave this a try and the following pattern seems to be working:

[node:field_tags:0:entity]/[node:title]