Requirements

Client-side Rendering is currently available.

Required SSR Tag:

This tag is extremely important as it allows Intelligems to track package versions to ensure compatibility with new features.

const intelligems = require("@intelligems/headless/gatsby");

exports.onRenderBody = ({ setHtmlAttributes, setBodyAttributes }) => {
  setBodyAttributes(intelligems.IntelligemsVersionAttribute);
};

Required Environment Variables

Intelligems Organization Id

Visit app.intelligems.io. Your organization ID is located under the settings page.

GATSBY_INTELLIGEMS_ORG_ID=<Intelligems-Organization-Id>
GATSBY_SHOPIFY_STORE_DOMAIN=<your-store-name>.myshopify.com
GATSBY_STOREFRONT_ACCESS_TOKEN=<Storefront-API-Token>

Last updated