Skip to main content

How to get API keys for a Magento integration

Patrick Teen avatar
Written by Patrick Teen
Updated over 2 months ago

Integrating Magento with eesel.ai allows your AI assistant to instantly retrieve order details, customer information, and other key Magento data to respond to customer inquiries more efficiently. This seamless connection reduces response times, improves accuracy, and enhances customer satisfaction by providing real-time, AI-powered support.

In this guide, we’ll walk you through the steps to connect your Magento store with eesel.ai, ensuring a smooth setup and optimal performance. Whether you're automating support responses, tracking orders, or managing customer requests, this integration will help streamline your workflow and elevate your customer service.

Step 1: Log In to Magento Admin Panel

  1. Open your web browser and navigate to your Magento store’s admin URL (e.g., https://yourstore.com/admin).

  2. Log in using your admin credentials.

Step 2: Navigate to Integrations

  1. In the left sidebar, click on System.

  2. Under the Extensions section, select Integrations.

  3. You’ll be taken to the Integrations page where you can manage API integrations.

Step 3: Create a New Integration

  1. Click the Add New Integration button in the top-right corner.

  2. Fill in the required details:

    • Name: Enter a descriptive name (e.g., "OurPortal_Orders_Integration").

    • Email: Provide a valid email address (this can be your own).

    • Callback URL and Identity Link URL: Leave these blank unless specified by our portal’s documentation.

    • Your Password: Enter your Magento admin password to authorize the integration.

  3. Leave other fields as default unless specific changes are required.

Step 4: Configure API Permissions for Orders

  1. In the integration setup form, scroll to the API tab on the left side.

  2. Under Resource Access, select Custom.

  3. In the resource tree, expand the Sales section.

  4. Check the box next to Orders to grant access to order-related endpoints. (You can also select additional permissions if required by our portal.)

  5. Ensure no unnecessary permissions are selected to maintain security.

Step 5: Save and Activate the Integration

  1. Click Save at the top-right corner.

  2. You’ll be redirected to the Integrations list. Find your newly created integration (e.g., "OurPortal_Orders_Integration") and click Activate in the Actions column.

  3. A confirmation pop-up will appear showing the access details. Keep this window open for the next step.

Step 6: Obtain the Access Token

  1. In the activation pop-up, you’ll see several keys, including:

    • Consumer Key

    • Consumer Secret

    • Access Token

    • Access Token Secret

  2. Copy the Access Token value and store it securely (e.g., in a password manager or a temporary text file). This token will be used in our portal.

Click Done to complete the activation process.

Did this answer your question?