Skip to content

Global Data Bundle

VIDEO WALKTHROUGH

Global Data Bundle: setup guide

1:59

Recorded on version 1.0.3 · Narrated walkthrough · English captions

Jump to a chapter 6 chapters
Read the full video transcript
Global Data Bundle 1.0.3 — Magento Admin setup

00:00:00 — Set up Global Data Bundle
Welcome to the Agentic Ecom Global Data Bundle guide. We'll use Magento Admin to review the setup and explain the handoff to your headless storefront. This walkthrough covers stable version 1 point 0 point 3 and assumes the extension is installed.

00:00:16 — Open the global snapshot
Open Agentic Ecom, Sync Data, Global Data Bundle. This module has a bundle viewer rather than a dedicated settings form. It brings together store configuration, category navigation and payment-method metadata for a headless storefront. Check the selected store and generation information.

00:00:37 — Review bundle freshness
Use Refresh Bundle on your store when the underlying global information changes. Wait for the refresh result, then check the generation time and available counts. No Snapshot Yet means the first snapshot has not been generated. Download JSON is available for inspecting a generated snapshot.

00:00:58 — Inspect the navigation and store data
Review the category tree and store configuration in the viewer. Correct the source settings in Magento when a name, currency or menu entry is wrong. For API consumers, the Store header selects the store view, and an explicit store I D must match it. Keep multi-store tests scoped to the intended storefront.

00:01:19 — Hand the snapshot to Astro
After refreshing Magento's snapshot, open Sync Global Data in Astro Admin and run that sync on your store. Review its category, store configuration and payment-method results. Then prebuild the affected pages and check the header, navigation and footer. Our walkthrough explains this handoff without running a live sync.

00:01:41 — Your setup checklist
Your next steps are to verify the selected store, refresh magento global data, sync and check navigation in astro. Use a staging store for the end-to-end check. The complete installation and integration reference is at user guides dot Agentic Ecom dot net.

A headless storefront needs a bundle of “global” data on every boot — the store’s currency and locale, logo and favicon, default SEO, tax rules, the category tree for navigation, and which payment methods are active. Global Data Bundle returns all of it in one store-scoped GraphQL call, with a version hash for caching — and it’s public-safe by design: a curated allow-list of non-secret values, so your API keys can never leak through it.

Global Data Bundle in the admin

Install Global Data Bundle with Composer using your AgenticEcom licence key (find it on your My Licences page — one key unlocks every module you own):

Terminal window
# 1. Register the AgenticEcom repository (once per store)
composer config repositories.agenticecom composer https://repo.agenticecom.net
composer config --global --auth http-basic.repo.agenticecom.net <YOUR-LICENCE-KEY> x
# 2. Require this module
composer require agenticecom/module-global-data-bundle
# 3. Apply it
php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento cache:flush

Magento

Check the exact release against your Magento Open Source version.

PHP

Check the exact package requirements and test your PHP version.

Multi-store

Store-scoped — each store view gets its own bundle.

Safe

Allow-listed config only — no secrets, ever.
{ globalDataBundle {
store_config {
store_code base_currency_code locale timezone weight_unit
header_logo_src favicon copyright
default_title default_description default_keywords
tax_display_type catalog_prices_include_tax tax_rate_percent
b2b_quote_enabled b2b_quote_show_pdp b2b_quote_allow_guest
storefront_extensions
}
categories { /* the navigation tree */ }
payment_methods { code title }
version } }

Currency, locale, timezone, logo & favicon (resolved to absolute URLs), copyright, and the default SEO title/description/keywords — so your storefront chrome and <head> come from Magento, not hardcoded strings.

Any module can advertise itself to the storefront by registering a small provider — it adds one { id, enabled, config } entry to the bundle’s storefront_extensions map, so the Astro side learns the module is installed and how it’s configured, with no edit to this module. A misbehaving provider is skipped, never breaking the bundle.

Why one bundle instead of many queries?

A headless storefront needs all of this to render its first page. One store-scoped call (with a version hash so it only re-fetches on change) is far faster than a query per concern, and gives the storefront a single consistent snapshot.

Could it leak my payment gateway keys?

No. Payment methods carry only their code and title — capability, not credentials. Publishable keys and SDK params are fetched live per-gateway, gated by this manifest, and secret keys never leave the server.

Does it respect my Magento tax settings?

Yes — it surfaces the display type, whether catalog prices include tax, and the real effective VAT rate, so the storefront shows inc/ex prices exactly as Magento is configured rather than guessing.

Is it secure?

The bundle is public by design (it’s the data a storefront needs to render) but exposes only an allow-list of non-secret values. The admin snapshot/refresh tools are behind the module’s ACL. Check exact-release compatibility before deployment.