Create API access in Magento 2
- Log in to the back-end of your store via
https://yourdomain.com/admin/. - In the left menu, go to System → Integrations.
- Click Add New Integration, give the integration a name, and save.
- Open the integration and check the Read boxes for:
- Customers
- Sales
- Catalog
- Activate the integration and copy the access token.
