Forum Discussion
Unable connect Shopify to Power BI
Dear community,
i don't manage to connect Power BI to my Shopify site data.
In shopify, i have created a private app that generated an API key, A password and a URL containing both (note that this address is following this format of secure url "https://{apikey}:{password}@{hostname}/admin/api/2021-10/orders.json" therefore not sure if it would lead to all tables/data i have selected during the setup of the Shopify private app)
In Power BI, i do GET DATA / WEB / Basic Url and i paste the URL.
Power bi shows the Access Web Content window but tells me "we could not authenticate with the credentials provided..." in anonymous mode.
in the basic mode, i tried entering my shopify admin credentials, it doesn't work either.
Anybody with some help would be highly appreciated.
Many thanks in advance
I have found the answer and thought i would share the exact steps.
The Shopify API is a REST API.
To get data within power BI, here are the steps in Power BI:
1) Get DATA
2) select WEB
3) Enter the URL (as basic) from the private app in shopify ("https://{apikey}:{password}@{hostname}/admin/api/2021-10/orders.json")
4) Select BASIC authentification
5) Username is the API Key
6) Password is the API Password
And that's it, you will then get access to the data in JSON format, convert it to table, expand the records and clean the table.
Many thanks
11 Replies
- newbie74Frequent Visitor
I have found the answer and thought i would share the exact steps.
The Shopify API is a REST API.
To get data within power BI, here are the steps in Power BI:
1) Get DATA
2) select WEB
3) Enter the URL (as basic) from the private app in shopify ("https://{apikey}:{password}@{hostname}/admin/api/2021-10/orders.json")
4) Select BASIC authentification
5) Username is the API Key
6) Password is the API Password
And that's it, you will then get access to the data in JSON format, convert it to table, expand the records and clean the table.
Many thanks
- aslam07New Member
Hi There,
Could you please help me to create the Private API?
- RahulkumarB123Frequent Visitor
what is API Password??
- ReportRanger
Helper III
Hi newbie74 were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supemetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Shopify connector in the data sources list:
After that, you need to follow instructions and install the windsor.ai app from the Shopify App Store:
then on preview and destination page you will see a preview of your Shopify fields
There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
- vanessafvg
Community Champion
it looks like this gives a different way to connect?
i have no experience of it but maybe it can help?
https://www.alphaservesp.com/blog/power-bi-shopify-integration/
- Asad-tech05New Member
Hi everyone,
I want to connect shopify with power bi but i can't find any option. i know there're some apps but i want to it manually.
Thanks
- EugeneLebedev
Helper V
Shopify is now trying to retire the Rest API in favour of the GraphQL API. I have found that coding a GraphQL API integration in M really hard. I eventually switched to this out-of-the-box solution instead - https://vidi-corp.com/shopify-power-bi-connector/
It comes with a free Power BI dashboard which I found super useful
- adelheni
Helper III
The best option I found and used is getting one of the apps that partners with Shopify.
https://apps.shopify.com/windsor-connector; this one has been working seemingly, we use to connect Shopify to power bi and Shopify to BigQuerry. - AnonymousNot applicable
I can recommend a third-party tool to connect Shopify and Power Bi — Skyvia. This no-coding solution provides integration through a database or cloud data warehouse with automatic schema creation. Then you can connect Power BI to this database or data warehouse easily.
- ltopchyi
Helper III
Hi newbie74,
You can take a look at the altenative option (just in case): https://apps.shopify.com/power-bi-connector-1
Liubov
- DPW26New Member
I have been waiting for more than 24hrs now