Enabling other systems to access your Magento is really easy. This is done by creating a so-called integration. And to do this, just go into the Magento backend, go to System > Integrations, and click on Add New Integration. On the next page you only have to provide a name, preferably ‘Commerce 365’, and on the second tab (API) just select Resource Access: All. Then click Save & Active. The system will show you a confirmation on all the resources this integration can access. Click Allow, and you will find the final screen which shows you 4 integration tokens. Next, all you have to do is to copy/paste the Access Token, because that is the one we need in Business Central.
If for some reason the Magento API is throwing errors that look like ‘Consumer is not authorized to access %resources’ it might be that the Access Token you are using is invalid. You can reauthorize the token by going to System > Integrations, and click on the ‘Reauthorized’ link for your integration. On the next page click on the Reauthorize button, and then copy the Access Token, and then click Done. Now paste the token in Business Central (Administration Setup Magento Magento REST API Access Token), and then check your connection status.