Hi, I'm trying to get my analyticsToken through GraphQL Admin API and I'm getting the "analytics_token access denied" error.
The documentation show me that it's possible but I didn't found any way to get it.
Am I doing something wrong? Someone else has faced this issue before and can help me with it?
Have you read through the 'Get store metrics with the Analytics API' tutorial yet? You'll need an Advanced Shopify plan and up for it to be available.
ShopifyQL requests currently must be made using the Embedded App SDK and I'm not aware of any planned updates or alternatives in that regard.