Platform Integrations
Connect Aegis Algorithm
to Your E-Commerce Stack
Embed AI-powered HS classification directly into Shopify, WooCommerce, and any platform that supports custom HTML — no API keys, no complex setup.
Shopify Integration
Add AI HS classification to your Shopify product workflow
Auto-Classify Products
Add the AI Classifier widget to your Shopify admin product page. Enter product name + description → get HS code instantly — right where you manage listings.
Global Selling Ready
Classify products for customs in 200+ countries. Shopify Markets compatible — ensure correct tariff codes for every destination market.
Zero-Setup Embed
Copy-paste one line of HTML into your Shopify Custom Liquid section or product template. No API keys. No app installation. Works immediately.
How to Add to Shopify
Open Theme Editor
In Shopify Admin, go to Online Store → Themes → Customize. Navigate to your product page template.
Add Custom Liquid Block
Click Add Block → Custom Liquid. Paste the embed code below. Position the block where you want the classifier to appear (recommended: below product description).
Save & Classify
Save your theme. Open any product page — the AI Classifier widget is live. Enter product details and get HS codes instantly.
<!-- Aegis Algorithm — AI HS Classifier for Shopify -->
<div style="border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin:16px 0">
<iframe src="https://aegisalgorithm.com/embed-classify"
style="width:100%;height:320px;border:none"
title="AI HS Classifier">
</iframe>
</div>
WooCommerce Integration
Add AI HS classification to your WordPress/WooCommerce product pages
Shortcode Support
Use a simple WordPress shortcode [aegis_classifier] to embed the AI Classifier anywhere — product pages, custom post types, or sidebar widgets.
Custom Field Mapping
Automatically save classified HS codes to WooCommerce custom fields or product attributes. Use in shipping rules, customs documentation, and tax calculations.
No Plugin Overhead
Works as a lightweight iframe embed — no plugin installation, no database changes, no performance impact. Compatible with all WooCommerce themes.
How to Add to WooCommerce
Edit Product Template
In WordPress Admin, go to Appearance → Theme File Editor. Open your theme's single-product.php or use a code snippet plugin like WPCode.
Add Shortcode or Iframe
Paste the shortcode [aegis_classifier] where you want the widget to appear, or use the iframe embed code directly in a Custom HTML block. Recommended position: after the product short description.
Optional: Create Shortcode
Add this to your theme's functions.php for shortcode support:
// Aegis Algorithm — AI HS Classifier Shortcode
function aegis_classifier_shortcode() {
return '<iframe src="https://aegisalgorithm.com/embed-classify"
style="width:100%;height:320px;border:1px solid #e5e7eb;
border-radius:12px" title="AI HS Classifier"></iframe>';
}
add_shortcode('aegis_classifier', 'aegis_classifier_shortcode');
API & Embed Anywhere
Universal integration options for any platform
Iframe Embed
Drop the classifier into any HTML page with a single iframe tag — works on Squarespace, Wix, Webflow, Magento, BigCommerce, and any custom site.
REST API Access
Direct API integration at /api/v1/classify — POST product_name + product_description → get HS code candidates with confidence scores. Build custom workflows.
Zapier & Automation
Connect to 5,000+ apps via webhook — auto-classify products from Google Sheets, Airtable, or any form submission. Trigger classification from anywhere.
curl -X POST https://aegisalgorithm.com/api/v1/classify \
-H "Content-Type: application/json" \
-d '{
"product_name": "Smart Bluetooth Earbuds",
"product_description": "True wireless stereo earbuds with active noise cancellation, Bluetooth 5.3, IPX5 water resistance"
}'
# Response:
# {
# "suggested_code": "8518.30",
# "candidates": [
# {"code": "8518.30", "confidence": 0.94, "description": "Headphones and earphones..."},
# ...
# ],
# "processing_time_ms": 1234
# }
Start Embedding in 30 Seconds
No API keys required for the embed widget. Copy the iframe code above, paste into your platform, and start classifying products instantly.
