Advanced Extensions
#Getting Started
In this section, you will learn how to create your first Custom Component extension quickly. This quick guide will help you understand the basic workflow for creating and managing UI Extensions.
#Prerequisites
Before building custom component extensions, you'll need:
- JavaScript/TypeScript Knowledge: Familiarity with modern JavaScript
- Node.js and npm: For dependency management
- Akeneo Extension SDK: The official SDK for building extensions
- Development Environment: A code editor and terminal
- PIM Access: A connection, an app, or the proper permissions to create and manage UI Extensions in the PIM
#Quick Start: Three Steps to Your First Extension
#1. Setup Your Project
Clone the Akeneo Extension SDK repository and navigate to an example project:
git clone https://github.com/akeneo/extension-sdk.git
cd extension-sdk/examples/quickstart
make start
The make start command will:
- Install dependencies
- Help you configure your environment
- Create the extension in your PIM for the first time
The SDK repository provides ready-to-use example projects that serve as templates for building your own extensions. Start with examples/quickstart for a basic setup, or explore examples/stock_data_on_panel for a more advanced example.
#2. Build Your Extension
Once you've developed your custom component, build it for deployment:
make build
This creates an optimized, production-ready JavaScript file in the dist/ directory.
#3. Deploy Your Extension
You have two options for deploying your extension:
Option A: Via PIM UI (No API token required)
- Navigate to System → Extensions → UI Extensions
- Click "Create" and upload your built JavaScript file
- Configure the extension name, position, and labels
- Learn about UI deployment
Option B: Via API (For automation and CI/CD)
- Use the REST API to programmatically deploy extensions
- Ideal for automated workflows and managing multiple environments
- Learn about API deployment
#Testing Your Extension
After deployment, find your extension in the PIM:
- Navigate to a product enrichment page
- Look for the "Extensions" section on the left panel
- Click on your extension's label
- The quickstart example will display information from the PIM API
You may need to refresh the page for the extension to appear.
Congratulations! You've created your first custom component.