Connect Magento 2 with ProductPolish
Connect your Magento 2 shop with ProductPolish via the REST API. You need an Integration Access Token created in the Magento Admin.
Prerequisites
- Magento 2 (Open Source or Commerce, version 2.3+)
- Admin access to the Magento backend
- The shop must be accessible via HTTPS
- The REST API must be enabled (default setting)
Required credentials
| Field | Example | Description |
|---|---|---|
Shop URL | https://my-shop.com | Base URL of the Magento shop. Without /admin or /index.php. |
Access Token | (long alphanumeric string) | The Integration Access Token. Generated when activating the integration. |
Step-by-step guide
Open Magento Admin
Go to your Magento Admin panel (e.g. https://your-shop.com/admin) and log in as administrator.
/backend instead of /admin). If /admin does not work, check with your hosting provider or the file app/etc/env.php.Create new integration
Navigate to: System→Integrations
Click "Add New Integration" (top right).
Name the integration
In the "Integration Info" tab:
- Name:
ProductPolish - Current Admin Password: Enter your admin password for confirmation
Assign API resources
Switch to the "API" tab.
Under Resource Access, choose one of:
- All – simplest option, grants full API access
- Custom – select:
Catalog → Inventory → Products(Read + Write) andCatalog → Inventory → Categories(Read)
Save and activate integration
Click "Save" to create the integration.
You will see the integration in the list. Click "Activate" next to it.
Confirm with "Allow" in the dialog.
Copy access token
After activation, four tokens are shown. You only need the Access Token.
Enter in ProductPolish
Go in ProductPolish to Dashboard→Integrations→New connection.
- Select Magento 2 as the platform
- Enter your shop URL (e.g.
https://my-shop.com) – without/admin - Paste the Access Token
- Click "Save connection"
Good to know
- Bearer token since Magento 2.4.4: Since version 2.4.4, using integration tokens as Bearer tokens is disabled by default. If the connection returns a 401 error, enable it:
bin/magento config:set oauth/consumer/enable_integration_as_bearer 1 - Token type: ProductPolish uses the permanent Integration Token.
- Attribute sets: New products are created with the default attribute set. You can change it in Magento Admin afterwards.
- Store views: Products are created in the default store view.
- Media: Product images are uploaded via the Media Gallery API.
- SEO: URL keys, meta title, and meta description are set automatically.
Common issues
"401 Consumer is not authorized"
The integration is not activated. Go to System → Integrations and click "Activate".
"The consumer isn't authorized to access %resources"
The integration does not have the required resource permissions. Edit the integration and select "All" or add the product resources.
"Integrations" menu item missing
You need the admin role with the permission "System → Extensions → Integrations".