Add Intelligems Provider
The IntelligemsGatsbyProvider Higher-Order Component will save all relevant data into React Context, which will be available throughout the app as needed.
Example Configuration
import { IntelligemsGatsbyProvider } from "@intelligems/headless/gatsby"
export default function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<IntelligemsGatsbyProvider
organizationId={process.env.GATSBY_INTELLIGEMS_ORG_ID}
storefrontApiToken={process.env.GATSBY_STOREFRONT_ACCESS_TOKEN}
antiFlicker={true}
>
...
</IntelligemsGatsbyProvider>
</>
)
}