Include the Carbon Analytics script in your SharePoint site.
npm install -g yo gulp @microsoft/generator-sharepoint
--
npm install
gulp build
gulp bundle --ship
gulp package-solution --ship
The package is now ready to be deployed to the tenant app catalog.