Step-by-step: Create a Magento API user
- Last Updated: 06 December 2009
- Created: 25 August 2009
To use MageBridge, you need to create an API user in Magento. This API user is also related to a so-called API role. By default, there is neither API user nor API role, so you need to configure both.
Logging into the Magento Admin Panel
First an API role needs to be added. Login to the Magento Admin Panel and navigate to System > Web Services > Roles.
Create a new API role
This page lists the current API roles. If there none listed yet, click on Add New Role.
Every role needs a name. This can be anything. Just make sure it is descriptive enough for yourself.
The second tab on the left (Role Resources) allows you to select which resources should be available for users with this role. While you can select exactly which privileges are given, we recommend you select All unless you're willing to spend hours with experimenting.
Create a new API user
Now that the role is created, you can add an user that makes use of this role.
The strange thing here is that the user fields here seem to indicate a person or individual, while in fact we're creating a system account of some kind. The fields First Name, Last Name and Email just need to be filled in with any value you like. Make sure the User Name and Api Key are secure enough.
The second tab on the left is called User Role, and that's where you select the role earlier created.
Configure the API details in MageBridge
The User Name and Api Key of the user that is created in Magento, need to be configured inside the MageBridge settings in Joomla!. Login to the Joomla! Administrator and navigate to Components > MageBridge > Configuration and select the tab API. Enter the user details in the fieldset Magento API user.
More tutorials that you might like
- API permissions with MageBridge
- Authentication guide for MageBridge
- Bypassing the MageBridge component-pages
- Configuring payment methods in MageBridge
- Configuring the MageBridge Root Menu-Item
- Disabling user synchronization in MageBridge
- Handling Downloadable Products in MageBridge
- Handling file uploads in MageBridge
- How Joomla! works with MageBridge URLs
- How to use URL-suffices with MageBridge?
- Importing and exporting users
- Integrating MageBridge in ZOO
- MageBridge SEO Guide
- Managing MageBridge extensions
- Migrating MageBridge from Joomla! 1.5 to Joomla! 2.5
- Migrating users between Joomla! and Magento
- Removing MageBridge
- Setting Joomla! ACL-rules for the MageBridge backend
- Setting MageBridge offline through the database
- Setting the MageBridge URLs in Magento
- Step-by-step: Activating MageBridge plugins
- Step-by-step: Adding a custom Magento block
- Step-by-step: Create a Magento API user
- Step-by-step: Creating a MageBridge Menu-Item
- Using MageBridge modules
- Using MageBridge Product Connectors
- Using MageBridge stores to load a different Magento theme
- Using the MageBridge Content Plugin
- Using the MageBridge System Plugin
- Using the MageBridgeLinks/JCE-plugin