Integrations
Magento 2
Learn how to integrate your application with Magento 2 using API authentication and access management
Authentication
To integrate with Magento 2, you’ll need to set up API keys. Here’s how to generate and configure them:
Step 1: Generating API Keys
- Log in to your Magento 2 Admin Panel
- Navigate to System > Integrations
- Click Add New Integration
- Fill in the following details:
- Name: Give your integration a descriptive name
- Your Password: Enter your admin password
- API: Select the resources this integration will have access to
Step 2: Activating the Integration in Magento
- After saving, click on the Activate link in the integrations grid
- Review the permissions and click Allow
- You’ll receive four keys:
- Consumer Key
- Consumer Secret
- Access Token
- Access Token Secret
Never commit these keys directly to your code or version control. Always use environment variables or a secure secrets management system.
Step 3: Configuring in WISEPIM
To configure your Magento API keys in WISEPIM:
- Log in to your WisePIM admin panel
- Navigate to Settings > Integrations
- Click on the Magento integration tile
- Enter your API credentials in the following fields:
- Consumer Key
- Consumer Secret
- Access Token
- Access Token Secret
- Click Save to store your credentials
WISEPIM will securely encrypt and store these credentials for future use with your Magento integration.