NOVAGATESNOVAGATES
NovaTechNovaAgentsNovaCom
NovaTechNovaAgentsNovaCom
AR Tools
AI Tools
Services
Technologies
Solutions
Packages
Blog
LoginDemo store
NOVATECH
NovaTechNovaAgentsNovaCom
Demo store
Blog
Language
For Developers

Build Faster. Integrate Smarter. Scale Seamlessly.

Whether you're launching a feature-rich e-commerce site, building a virtual try-on experience, or powering a scalable AI engine, our developer-first architecture makes it easy to implement, customize, and deploy powerful AR and AI tools into your digital stack.

What We Offer

Developer-Friendly by Design

We offer flexible, modular solutions that can plug directly into your infrastructure, no heavy lifting required.

RESTful APIs & Webhooks

Pre-built SDKs for web & mobile

Clean, well-documented codebase

Full tech support & integration guides

Seamless Integration with Any Tech Stack

Our platform is built to fit yours. Novagates works across all major environments, frameworks, and CMS platforms, from Shopify and Magento to custom-built systems.

Frontend agnostic

Headless architecture ready

Easy plugin options for CMS & storefronts

1

4

Authentication

All you need is the publishable pk_… key from the API Keys tab in your dashboard. The SDK opens its own session; your backend is not involved.

Web

Add your storefront domain under Integrations → Domains & apps, then embed the script tag with your publishable key. The SDK posts the key to POST /api/sdk-session with a DPoP proof it makes in the browser (plus optional reCAPTCHA attestation) and gets back a short-lived sessionToken bound to the page origin and its DPoP key.

iOS & Android apps

Register your app under Domains & apps with its platform (iOS: Bundle ID + Team ID; Android: package name + signing certificate SHA-256). The native SDK gets a one-use challenge from POST /api/sdk/app-challenge, attests on the device (iOS App Attest; Android hardware Key Attestation), and posts app_id + app_attestation to /api/sdk-session, which Novagates verifies.

Plugins

The WooCommerce, Magento, Shopify and OpenCart plugins need only your publishable key.

SDK Integration — Web & Mobile

Initialize the SDK by embedding its <script> tag with your publishable key as ?key=… and ?module=…. The SDK opens its own short-lived session and attaches it to every Novagates call.

Init flow

  1. Add your storefront domain under Integrations → Domains & apps.
  2. Embed the SDK <script> tag with ?module=<module-name>&key=<your pk_… key>.
  3. The SDK opens its session at /api/sdk-session and refreshes it itself.
  4. Once the script has loaded, the SDK calls Novagates.init({ rootId, productsSource, immediate: true }) and opens its own session at /api/sdk-session. It sends the session token as Authorization: DPoP, with a proof for each request in the DPoP header. When managed products is on for your brand, it asks Novagates which module and language to load, loads your products from /api/sdk/products and ignores productsSource; the dashboard snippet shows which one applies to your brand.

Implementation

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Novagates Virtual Try-On</title>
</head>
<body>
<div id="novagates-root"></div>
<script>
(function bootNovagates() {
// 1. Load the SDK with your publishable key + module. The SDK opens
// its own short-lived session; nothing else to call.
const params = new URLSearchParams({
module: "virtual-try-on",
key: "pk_YOUR_PUBLISHABLE_KEY",
});
const script = document.createElement("script");
script.src =
"https://cdn.novagates.com/sdk/novagates-sdk.js?" + params.toString();
script.async = true;
script.onload = function () {
// 2. Init once the loader has registered the global.
window.Novagates.init({
rootId: "novagates-root",
productsSource: "/api/products.json",
immediate: true,
});
};
document.body.appendChild(script);
})();
// 3. Listen for product events emitted by the SDK.
window.addEventListener("sdk:addToCart", function (e) {
console.log("[novagates] add to cart", e.detail);
// forward to your cart, analytics, etc.
});
</script>
</body>
</html>

Content Security Policy

The SDK runs inside your page, so it is governed by your site's Content Security Policy, not ours. If you enforce a strict CSP, allow the directives below before you go live - otherwise the SDK fails in ways that are hard to attribute from the outside: a black iframe, or a CompileError thrown from inside a minified bundle.

A srcdoc iframe does not isolate the SDK from your policy

The SDK runs in an about:srcdoc frame, and such a frame has no URL to derive a policy from - it inherits the embedding document's CSP, and its origin. Assuming the iframe isolates the SDK from your policy is the single most common misunderstanding here, and it is wrong.

DirectiveSources to allowWhy
script-src'self' https://cdn.novagates.comThe loader, the module bundles and the ONNX Runtime .mjs are all script src off the CDN.
script-src'wasm-unsafe-eval'MediaPipe, ONNX Runtime and TFLite all call WebAssembly.compile / instantiate, which CSP gates. Without it the SDK loads and then fails from inside with a CompileError - no blocked-resource message, so it is the hardest failure to attribute. 'unsafe-eval' also works but is strictly wider and should not be used.
connect-src'self' blob: https://cdn.novagates.comModel weights (.nova), MediaPipe .task landmarkers, .wasm runtimes, .glb / .hdr scene assets and the category manifests are all fetched. TFLite weights are decoded into a Blob and re-fetched through an object URL, which is why blob: belongs here too.
worker-src'self' blob: https://cdn.novagates.comThe inference worker is bundled inline and instantiated from a blob: URL. Omit this directive and it does NOT fall back to default-src - the chain is child-src, then script-src, then default-src - so it silently inherits whatever script-src allows. The refusal itself does reach the console and the violation report - it is the SDK's fallback to main-thread inference that is silent, so the page keeps working and only gets slower.
media-src'self' blob: data:Uploaded and recorded video plus generated audio play through URL.createObjectURL. The live-camera path uses srcObject, which CSP does not gate - so camera try-on keeps working while upload try-on breaks, which is a nasty way to find out.
style-src'self' 'unsafe-inline'The SDK renders into your page and styles its own UI inline. Absent a style-src it falls back to default-src, so a strict policy renders the try-on surface unstyled rather than blocking it — visibly wrong, with nothing thrown. This is the value our own site serves, in Report-Only, while running the same SDK; if yours is stricter, prove it in Report-Only before promoting. Be clear-eyed that this one is a real relaxation of your policy and the only directive here that is: 'unsafe-inline' on style-src permits any injected CSS on your pages, so it is worth confirming you want it rather than pasting it. A nonce or hash works for styles too if you would rather not, at the cost of coordinating with each SDK release.
font-src'self' data:Icon and UI fonts the SDK inlines as data: URIs. Falls back to default-src when omitted, which drops them to the browser default — again visible, not thrown.
img-src'self' data: blob: https://cdn.novagates.comCanvas captures the SDK produces as data: and blob: URLs, plus the image assets it loads from the origin it is itself served from. Your PRODUCT imagery is not covered here — that comes from whatever origin your catalog points at, so add that origin yourself. This is also the one row not derived from our own middleware policy: that file allows the same origin in img-src for an unrelated reason (our marketing media CDN shares it), so it corroborates this row rather than proving it. If you would rather not grant it, drop it and watch the Report-Only reports.
frame-src'self' https://cdn.novagates.comThe SDK draws its experience in a frame served from the CDN, a real cross-origin document. Absent a frame-src the browser falls back to child-src and then default-src, so a strict policy blocks the frame and the try-on never appears.

The bootstrap above is an inline script — give it a nonce

The Vanilla JS example in the integration section above puts its boot function in an inline script tag on your page. Under a strict script-src that tag is blocked and the SDK never loads at all — this is the first thing anyone hits who copies both the snippet and the policy. Emit a per-request nonce on the tag and in the header: add a nonce attribute to the opening script tag of the Vanilla JS example above, with the same value you substitute for the nonce placeholder in the snippets below. Or move the function into a file that 'self' already covers, which needs no nonce at all. The example is left without a nonce attribute on purpose, because the value has to be generated per request and a copied placeholder would be worse than none. Do not reach for 'unsafe-inline': it re-enables every inline script on your site, which is a far higher price than this needs. AND MIND WHAT THE NONCE DOES TO A POLICY YOU ALREADY HAVE — under CSP Level 3, a script-src containing a nonce or hash makes 'unsafe-inline' in that same directive IGNORED. If you serve script-src 'self' 'unsafe-inline' today and simply append this nonce, every other inline script on your storefront (tag manager, analytics, chat widget) stops running, site-wide, with nothing on this page to warn you. Nonce them all in the same change, or externalise this one function instead.

# THESE ARE THE SDK'S DIRECTIVES, NOT A COMPLETE POLICY. Merge each source
# expression into the directive you already serve - pasting this block as your
# whole CSP replaces yours and breaks the rest of your site.
#
# NOTE on the nonce: a script-src that contains a nonce makes 'unsafe-inline'
# in that same directive IGNORED (CSP Level 3). If you serve 'unsafe-inline'
# today, nonce your other inline scripts in the same change or they stop
# running.
#
# Roll it out FIRST in Report-Only, with a collector at /csp-report, and read
# the reports before you promote. Shown wrapped for readability - send it as
# ONE header line; HTTP header folding is obsolete and proxies will not
# reassemble it.
add_header Content-Security-Policy-Report-Only "
script-src 'self' 'wasm-unsafe-eval' https://cdn.novagates.com 'nonce-<PER-REQUEST>';
connect-src 'self' blob: https://cdn.novagates.com;
worker-src 'self' blob: https://cdn.novagates.com;
frame-src 'self' https://cdn.novagates.com;
style-src 'self' 'unsafe-inline';
font-src 'self' data:;
media-src 'self' blob: data:;
img-src 'self' data: blob: https://cdn.novagates.com;
report-uri /csp-report;
report-to csp-endpoint
" always;
# report-to needs this companion header to bind the group name to a URL.
add_header Reporting-Endpoints 'csp-endpoint="https://your-site.example/csp-report"' always;

Check connect-src: the values above cover what the SDK fetches from the CDN and from your own origin, but the SDK also opens its session from the browser with POST /api/sdk-session at novagates.com, so allow that origin in connect-src. If reCAPTCHA attestation is on, allow Google reCAPTCHA too (www.google.com/recaptcha/, www.gstatic.com/recaptcha/).

Start Report-Only, then promote

Ship the policy on Content-Security-Policy-Report-Only with a reporting endpoint first, and leave it there for a full traffic cycle before promoting it to enforcing. That is the same ordering we hold ourselves to on this site.

Declare both report-uri and report-to

report-uri is deprecated in the spec but is the only one Firefox and Safari implement, while Chrome and Edge ignore it entirely whenever report-to is present. Declaring only one collects nothing from a whole browser family - which looks identical to having no violations.

frame-src names the SDK origin because the SDK frame is a real cross-origin document served from the CDN, not an about:srcdoc frame that would inherit your policy.

Drop-in Plugins

For WordPress / WooCommerce, Magento, Shopify, and OpenCart we ship the full plugin. It needs only your publishable key and handles the rest, including catalog sync. Download links and installation instructions live inside your dashboard.

WordPressWooCommerceMagentoShopifyOpenCart

Managed products

Novagates keeps your products for you and shows only as many as your subscription allows. When managed products is on for your brand, the SDK loads them from GET /api/sdk/products with the same session token it uses for everything else, and ignores productsSource. The snippet under Integrations in your dashboard shows which one applies to your brand. Add your products in the dashboard under Products: from a feed link, from a spreadsheet, or by hand.

The number of products shown follows the product limit of your plan for the module. The limit itself is never in the answer.

A minimal product

A feed is a JSON array of products like this one, or an object with an items array. Every image and link must be an absolute https address.

{
"sku": "LIP-001",
"name": "Velvet Matte Lipstick",
"price": 18.5,
"currency": "AED",
"productTypes": "lip_shade",
"hexacode": "#B3263E",
"image": "https://shop.example.com/images/lip-001.jpg",
"url": "https://shop.example.com/products/lip-001"
}

Product fields

A field this table does not list is ignored. A product also needs an image (or a snapshot) of its own. Limits are counted in characters for text and in items for lists.

FieldRequiredTypeLimit
skuyestext120 characters
nameyestext200 characters
priceyesnumber—no limit
currencyyestext500 characters
productTypesyestext200 characters
isSkincarenotrue or false—no limit
imagenotext500 characters
glbnotext500 characters
snapshotnolist12 items
patternnotext500 characters
shape_imagenotext500 characters
usdznotext500 characters
urlnotext500 characters
brandnotext500 characters
descnotext500 characters
longDescnotext5000 characters
colornoone of: white, black, red, blue, green, beige, brass, brown, gold, grey, multicolor, orange, pink, purple, silver, transparent, yellow, bronze, nude—no limit
sub_colornotext500 characters
hexacodenotext200 characters
texturenotext500 characters
materialnotext500 characters
materialsnotext500 characters
shapenotext500 characters
sizenotext500 characters
fabricnotext500 characters
formationnotext500 characters
intensitynonumber—no limit
wetnessnonumber—no limit
rating_summarynonumber—no limit
review_countnonumber—no limit
coveragenotext500 characters
lip_shapenotext500 characters
lip_artnotext500 characters
plump_levelnotext500 characters
finishnotext500 characters
brushnotext500 characters
coatingnotext500 characters
lash_regionnotext500 characters
hair_effectnotext500 characters
french_tipnotext500 characters
pupil_sizenotext500 characters
ring_sizenonumber—no limit
ring_sizesnolist30 items
skin_tonenotext500 characters
tone_typenotext500 characters
skin_typenotext500 characters
skin_concernnotext500 characters
hair_typenotext500 characters
hair_concernnotext500 characters
personalitynotext500 characters
occasionnotext500 characters
face_shapenotext500 characters
fragrance_notenotext500 characters
shadesnolist64 items
fitnoobject—no limit
featuresnolist24 items
ratingnonumber—no limit
reviewsCountnonumber—no limit
stocknonumber—no limit
shippingnotext500 characters
warrantynotext500 characters
carenotext500 characters
weightKgnonumber—no limit
widthCmnonumber—no limit
depthCmnonumber—no limit
heightCmnonumber—no limit
scalenonumber—no limit
rotationnolist3 items
positionnolist3 items
arScalenonumber—no limit
hasAnimationnotrue or false—no limit
tintableMaterialsnolist64 items
colorOptionsnolist32 items
hotspotsnolist32 items
viewer3dnotrue or false—no limit
categorynotext500 characters

The products endpoint

Send the session token as Authorization: DPoP, with a proof for each request in the DPoP header. The query takes module (for example virtual-try-on-makeups) and lang (en or ar). The answer is never cached. Per key, at most the number of requests a minute shown below is allowed.

Requests a minute per key: 600

GET /api/sdk/products?module=virtual-try-on-makeups&lang=en HTTP/1.1
Host: novagates.com
Authorization: DPoP <session-token>
DPoP: <proof-for-this-request>

The products in the 200 example are shortened to two fields. A refusal carries an error code and an empty products list.

Status of a 200 answer

statusMeaning
readyThe list is current. Products are in the answer.
staleProducts are in the answer, but the copy is more than an hour old and a refresh has been queued.
pendingNo copy exists yet (never fetched, a refresh is on its way, or the copy is gone). The list is empty.
unavailableNo copy exists and the last refresh failed. The list is empty; the SDK treats it like pending.
limit_not_setThe plan sets no product limit for the module, so nothing is shown. The list is empty.

Refusals and errors

HTTPerrorMeaning
400unknown_moduleThe module parameter is missing or names no module.
400module_not_supportedThe module exists but shows no managed products.
400bad_languageThe lang parameter is missing or is not a language the SDK serves.
401—shared error bodyThe token is missing, expired or invalid, or is not a merchant token.
403brand_inactiveThe brand profile is deleted or deactivated.
403not_usableThe organization may not use the application right now.
403module_not_subscribedThe subscription does not include the module.
403language_not_purchasedThe subscription does not include the requested language.
404—shared error bodyNot available yet for this brand.
429—shared error bodyToo many requests for this key. Wait for the number of seconds in the Retry-After header.
503—shared error bodyThe central status is unavailable, or the request limiter cannot count. Retry later.

Spreadsheet columns

A spreadsheet (CSV or Excel) names its columns after the fields above. Column names are not case sensitive; a column that is not listed is ignored and reported. Every cell is read as text, so a cell that starts with = or + stays text and is never evaluated. A file may be up to the size below. In a workbook the sheet name is the product type; in a CSV the productTypes column is.

Largest file (MiB): 10

One value per product

  • sku
  • price
  • currency
  • image
  • glb
  • snapshot
  • hexacode
  • texture
  • color
  • productTypes
  • isSkincare

Text per language: add _en or _ar (for example name_ar). The name without a suffix is the primary language.

  • name_en
  • name_ar
  • desc_en
  • desc_ar
  • longDesc_en
  • longDesc_ar
  • url_en
  • url_ar

Attributes some product types use

  • intensity
  • wetness
  • finish
  • coverage
  • lip_shape
  • lip_art
  • plump_level
  • brush
  • coating
  • lash_region
  • skin_tone
  • tone_type
  • pattern
  • sub_color
  • hair_effect
  • hair_type
  • hair_concern
  • french_tip
  • pupil_size
  • shape
  • material
  • fabric
  • size
  • face_shape
  • ring_size
  • skin_type
  • skin_concern
  • formation
  • personality
  • occasion
  • fragrance_note
  • usdz
  • shape_image
  • materials
  • category
  • stock
  • shipping
  • warranty
  • care
  • weightKg
  • widthCm
  • depthCm
  • heightCm
  • scale
  • arScale
  • hasAnimation

Repeating groups: group.N.part, with N counted from 0 and below the slot count shown. A cell never holds JSON.

  • shades.N.name, shades.N.hexacode, shades.N.texture (64 slots)
  • features.N (24 slots)
  • colorOptions.N.name, colorOptions.N.value (32 slots)
  • hotspots.N.title, hotspots.N.body, hotspots.N.x, hotspots.N.y, hotspots.N.z (32 slots)
  • rotation.N (3 slots)

Join the Dev Community

Novagates isn’t just a platform, it’s a partner.

We support developers every step of the way, with expert onboarding, shared codebases, and a growing developer community.

Start Growing Your Business

We deliver cutting-edge solutions that are secure, scalable, and customer-focused.

Technologies

  • VTO Technologies
  • AI Technologies
  • AR, VR Novaverse Technologies
  • Visualization Technologies

Hubs

  • Makeup
  • Accessories
  • Lenses
  • Nails
  • Hair
  • Mix'nMatch
  • Fashion
  • Skin
  • Face
  • Luxe Look
  • Smart Mirror Glam

Suites

  • Lips
  • Eyes
  • Face
  • Head Accessories
  • Face Accessories
  • Neck Accessories
  • Hand Accessories
  • Makeup Mix'nMatch
  • Accessories Mix'nMatch
  • Makeup & Accessories Mix'nMatch
  • Footwear
  • Skin Insights
  • Face Analyzer
  • Personality Finder
  • Style Scanner Tech
  • Look Book
  • AR Interior
  • Space Visualization
  • Product Visualization

Enterprise

  • About us
  • Founders
  • Contact Us
  • Careers
  • Blog

Resources

  • Contact Us
  • Terms and Conditions
  • Privacy Policy
  • Cookies
NOVATECH
Novagates. All rights reserved © 2026
LinkedInFacebookInstagramThreadsSnapchatXYouTubeTikTok