The GoogleFit M extension allows you to connect to GoogleFit using the OAuth 2.0 protocol authentication flow.
This project was adapted from:
-
Create a new project at https://console.developers.google.com/.
-
Under the "Credentials" tab, select "OAuth Client ID" and choose the application type as "Web application"
-
Specify the "Authorized redirect URIs" as: https://oauth.powerbi.com/views/oauthredirect.html
-
Under the "Dashboard" tab, enable the "Fitness API"
-
Clone or download this project and open the solution in Visual Studio
-
Add the
client_id
andclient_secret
from step 2 to the corresponding files -
Build the project to produce an extension file .mez (\bin\Debug)
-
Copy the extension file into [My Documents]\Microsoft Power BI Desktop\Custom Connectors directory
-
Enable the Custom data connectors preview feature in Power BI Desktop (under File | Options and settings | Custom data connectors)
-
Restart Power BI Desktop