How to connect YouTube Analytics API to track video performance in Stackby

How to connect the YouTube Analytics API with Stackby to track your video performance automatically?