This is step 1 in order to connect to data in the YouTube API using the Power BI Desktop custom connector.
Get the connector here: https://github.com/migueesc123/YoutubeAnalytics
More information from Microsoft about the Custom Data Connectors: https://github.com/Microsoft/DataConnectors
The links!
Developer site: https://console.developers.google.com/
Redirect URI: https://oauth.powerbi.com/views/oauthredirect.html