How to incorporate mindfulness thoughts whilst doing yoga

I recently read an interesting article about mindfulness, and gratitude and their effects on mental health. Was wondering what are the best ways to incorporate mindfulness into yoga as currently i seem to get distracted whilst im doing yoga and think i'd feel better overall