Navigating Magento 2’s interface can be tricky, especially when it comes to creating API keys. But don’t worry—this guide will make it easy to set up your API key in just a few steps.
If you prefer you can also watch the tutorial in video form on YouTube here:
How to create API key in Magento 2?
Step 1: Sign In
-
Start by signing into your Magento 2 admin account.
Step 2: Access the Integrations Menu
-
On the left-hand side, click on System at the bottom.
-
From the menu, select Integrations.
Step 3: Add a New Integration
-
Click on Add New Integration to create a new API key.
Step 4: Fill Out General Information
-
In the General section, fill out the Name and Email fields.
Step 5: Configure API Settings
-
Go to the API section under Basic Settings.
-
In the Resources section, select/mark the checkboxes for Sales and Catalog.
Step 6: Add Your Password
-
Return to the Integration Info section under Basic Settings.
-
Scroll down to the Your Password field and enter your Magento admin password.
-
Click the Save button at the top.
Step 7: Activate the Integration
-
Click on Activate for the newly created integration.
-
Click Allow when prompted to confirm permissions.
Step 8: Finish the Setup
-
Once the activation is complete, click on Done. Your API key is now ready to use.
Conclusion
In conclusion, creating an API key in Magento 2 doesn’t have to be a hassle. Follow these steps to set it up smoothly and securely. Need a more detailed walkthrough? Watch this video tutorial for additional guidance:
How to create API key in Magento 2?