How to create custom KPIs in automation hub that can be used in insights?

I have added a custom KPI (“Complexity”) to an automation hub detailed assessment. I would like this field to be populated to Insights through the Insights connection so that it can be used as a KPI in custom Insights visualizations.

Is there a way to do this, and if so, can you provide some instructions or documentation?