Setting up an
to Magento Advanced ReportingThis reference explains how to set up the
to Magento Advanced Reporting.Prerequisites
Before you read this reference, perform all of the following actions:
-
Ensure that the account you use to connect to Magento Advanced Reporting has admin rights assigned.
-
Enable Advanced Reporting on the connected Magento Advanced Reporting account. For more information, see the Magento Advanced Reporting documentation.
-
Retrieve an access token from Magento Advanced Reporting. For more information, see the Magento Advanced Reporting documentation.
Retrieving Analytics access token from Magento Advanced Reporting
To retrieve an Analytics access token, follow these steps:
-
Log in to the server that hosts Magento Advanced Reporting. An example of a server URL is as follows:
https://devdocs.magento.com/cloud/env/environments-ssh.html#magento-cli
-
Enter the following into the command line, and run the command to display the Analytics access token:
web@mymagento.0:~$ ./bin/magento config:show | grep analytics/general/token
-
Copy the Analytics access token from the command line.
Setting up an
to Magento Advanced ReportingTo set up an
to Magento Advanced Reporting, follow these steps:-
Select the workspace you work with in Adverity and then, in the , click Datastreams.
-
In the top right corner, click + Create datastream.
-
Search for and click Magento Advanced Reporting.
-
Click Setup a new Authorization.
-
In Website URL, enter the URL for the Magento Advanced Reporting API.
-
In Access token, enter the access token retrieved from your Magento Advanced Reporting admin account.
-
In Analytics access token, enter the Analytics access token retrieved from the command line.
-
Click Authorize.