Skip to content

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

FieldExampleDescription
Shop URLhttps://my-shop.comBase 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

1

Open Magento Admin

Go to your Magento Admin panel (e.g. https://your-shop.com/admin) and log in as administrator.

The admin URL may be customised in Magento (e.g. /backend instead of /admin). If /admin does not work, check with your hosting provider or the file app/etc/env.php.
2

Create new integration

Navigate to: SystemIntegrations

Click "Add New Integration" (top right).

3

Name the integration

In the "Integration Info" tab:

  • Name: ProductPolish
  • Current Admin Password: Enter your admin password for confirmation
4

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) and Catalog → Inventory → Categories (Read)
We recommend "All" for the simplest setup.
5

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.

6

Copy access token

After activation, four tokens are shown. You only need the Access Token.

Copy the Access Token immediately! It is only shown once. The other three tokens are not needed for ProductPolish.
7

Enter in ProductPolish

Go in ProductPolish to DashboardIntegrationsNew connection.

  1. Select Magento 2 as the platform
  2. Enter your shop URL (e.g. https://my-shop.com) – without /admin
  3. Paste the Access Token
  4. Click "Save connection"
Done! ProductPolish uses the Access Token for Bearer token authentication with the Magento 2 REST API.

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".