Integrate Akeneo PIM in Shopware
. 6 minutes
November 12, 2024

How to Integrate Akeneo PIM in Shopware

Integrating a Product Information Management (PIM) system like Akeneo with your Shopware e-commerce platform can be a game-changer for keeping product data consistent, accurate, and easily manageable. This guide will show you the key steps to connect Akeneo PIM with Shopware, ensuring your product details flow smoothly between the two systems. 

Setting up this integration will reduce repetitive data entry, avoid errors, and ensure your customers always see the latest information in your Shopware store. Whether you’re a developer or an admin, this guide simplifies the process to help you get set up confidently and effectively.

Steps to Set up Akeneo PIM in Shopware

Look at how to set up different versions of Akeneo PIM according to your particular requirements.

Setting Up Akeneo Community Edition

Technology Stack

  • Backend: PHP 8.1, Symfony, Memcached, MySQL, Elasticsearch
  • Frontend: BEM, jQuery, Backbone.js, React.js

Docker Setup for Akeneo PIM

Create Project Directory

Initialize Project with Docker

Alternative Setup with Archive

Need Technical Expertise to Set This Up?

Integrating Akeneo PIM with Shopware can be complex, and having technical expertise can make the process smoother and more efficient.

Get Technical Expertise Now

Akeneo PIM Enterprise Edition Setup

Get Enterprise Archive (via Partner Portal)

Launch in Dev Mode

Access PIM at http://localhost:8080/

Local Setup (Without Docker)

Composer Project Setup

Environment Configuration

  • Copy .env and configure:
Launch in Dev Mode

Launch in Prod Mode

Basic Commands and Setup

  1. Enter the Akeneo Container
    $ docker exec -it pim-fpm-1 bash
  2. Create Admin User
    bin/console pim:user:create superadmin GENERATEDSUPERADMINPASSWORD [email protected] Super Admin en_US –admin -n –env=prod
  3. Create Admin User with specific data

bin/console pim:user:create

Excel Import and API Commands

Excel Import Jobs – check jobs are registered

Run API Jobs – run jobs

bin/console messenger:consume –env=prod

Key Akeneo API Features

  • RESTful Structure

Akeneo uses REST (Representational State Transfer) APIs, making it straightforward for developers to interact with data using standard HTTP methods like GET, POST, PUT, and DELETE.

  • OAuth2 Authentication

Akeneo API uses OAuth2 for secure access, allowing developers to authenticate and authorize applications without exposing user credentials. It supports the Client Credentials grant type, which is ideal for server-to-server interactions.

  • Pagination and Filtering
    • The API includes built-in pagination, which helps handle large data sets efficiently by breaking them down into smaller chunks.
    • Filtering options are available for most endpoints, allowing developers to query specific data based on attributes, categories, channels, and more.
  • Rate Limiting
    • Akeneo implements rate limits to manage server load and ensure fair usage. The default limit is 100 requests per minute, though this can vary depending on the version or specific setup.
  • Bulk Operations
    • Bulk endpoints are available to manage multiple records in one request, which is particularly useful when syncing large data sets or performing batch updates.

Setting up a New Connection

Step 1: Set Up a New Connection in Akeneo to Shopware

  1. Log in to the Akeneo Admin Panel as an administrator.
  2. Go to System > Connections.
  3. Click Create to set up a new connection.
  4. Enter the following details:
    • Label: A name for the connection (e.g., “Shopware Integration”).
    • Flow Type: Choose the flow type that best describes the connection (e.g., “Data Destination” if the data flows out of Akeneo to another system).
    • User Group: Select a user group for this connection, such as “API Users.”
    • Default Locale: Select the default language for data retrieval.
  5. Save the connection details.

Step 2: Generate API Credentials

  1. After creating the connection, you’ll see Client ID and Secret generated for this connection.
    • Client ID and Secret are essential for authenticating API requests.
  2. Make a note of these credentials—they will be used to obtain an access token when connecting to the Akeneo API.

Step 3: Grant Permissions to the Connection

  1. Go to System > Roles and assign the necessary permissions to the new connection’s user group.
    • Ensure it has access to the entities and actions needed for your API (e.g., Product read/write, Category read).
  2. Save the permissions.

Step 4: Obtain an Access Token via OAuth2

Using the Client ID and Secret from Step 2, you can now obtain an access token via the Akeneo OAuth2 token endpoint.

Send a POST request to the Akeneo OAuth2 token endpoint: plaintext

Request Body:
json

The response will contain an access token that you can use in API requests:
json

Step 5: Use the Access Token in API Calls

Add the Authorization header with the token to your API requests:

plaintext

Authorization: Bearer YOUR_ACCESS_TOKEN

This access token will need to be refreshed periodically, as it is valid only for a limited time (usually 1 hour).

Why Akeneo as PIM?

akeneo

Akeneo is a leading Product Information Management (PIM) system designed to help businesses manage and distribute product data efficiently. Widely used by companies to centralize product data, it ensures organized and streamlined product information. For growing businesses, integrating an ERP and PIM system becomes crucial during expansion phases when managing increased data volume, supply chain complexity, and diverse sales channels is essential.

If you are confused about the integration of an ERP system or PIM system, take a look at this guide. Learn more.

  • Product Information Centralization: The idea behind this is to centralize product data from different sources into one platform. This makes things easier to manage product data.
  • Data Enrichment: Enhances product data by adding rich content, images, videos, technical information, and translations to ensure high-quality product listings.
  • Data Distribution: Distributes product data to multiple channels such as e-commerce sites, marketplaces, mobile apps, and print catalogues in a synchronised and consistent manner.
  • Localization and Translation: PIM makes it easier to manage multiple-language product content. This helps to widen products for the global markets.
  • Data Quality and Validation: This tool always monitors and improves product data quality. If there is any missing or incorrect information, the tool ensures all the data meets standards before publication
  • Product Association Management: Product association is an important part, and features like cross-selling, upselling, and variants are supported in the PIM tool.
  • API and Third-Party Integrations: Integration makes up an integral part and it is possible to integrate easily with other systems. Integrate ERP, e-commerce platforms, CRMs, and marketing tools for better flow of product data. 

Conclusion

Integrating Akeneo PIM in Shopware is an effective way to empower you to manage your products easily. Follow these set-up steps for a consistent and error-free product catalogue. Akeneo offers powerful features to scale your business. If you are looking for expert technical help to carry out Akeneo PIM integration with Shopware. Contact our Shopware Agency to experience a fast and hassle-free PIM integration.

 

FAQ

What exactly is Akeneo PIM and why do I need it for my Shopware store?

Akeneo PIM is a Product Information Management system that helps organize and manage all your product data in one place. It's useful when you have lots of products and need to maintain consistent product information across your Shopware store.

Is it expensive to use Akeneo with Shopware?

Akeneo offers a free Community Edition and a paid Enterprise Edition. The Community Edition is suitable for small to medium businesses, while Enterprise offers advanced features for larger operations. Initial setup costs mainly involve developer time.

Can I manage my product data without technical knowledge?

Yes, once set up, Akeneo provides a user-friendly interface to manage product information. You can edit products, upload images, and update descriptions without technical knowledge. Data automatically syncs to Shopware.

Will I lose my existing Shopware product data during integration?

No, you won't lose data. The integration process first imports your existing Shopware data into Akeneo and then sets up synchronization between both systems. It's a safe process that preserves your current data.

How difficult is it to train my team to use Akeneo?

Akeneo is designed to be user-friendly. Basic product management tasks can be learnt in a few hours. For admin tasks, Akeneo provides documentation and training resources. Most teams become comfortable within a week.

blog
Greetings! I'm Aneesh Sreedharan, CEO of 2Hats Logic Solutions. At 2Hats Logic Solutions, we are dedicated to providing technical expertise and resolving your concerns in the world of technology. Our blog page serves as a resource where we share insights and experiences, offering valuable perspectives on your queries.
Aneesh ceo
Aneesh Sreedharan
Founder & CEO, 2Hats Logic Solutions
Subscribe to our Newsletter
Aneesh ceo

    Stay In The Loop!

    Subscribe to our newsletter and learn about the latest digital trends.