---
schema_version: "1"
id: 8b1fe02765b0705e1f6765482308636be45d7d67549a1a0d4d48ce7d0056dbb5
title: Shopper Agent Setup for Storefront Next or PWA Kit Storefronts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_shopping_agent_pwa_kit_container.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_shopping_agent_pwa_kit_container.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a7806d6278711d13d34e7a0213f6fec2d01549f29c4c5dbad112d7b8cff3729c
description: For the Shopper Agent to work with B2C Commerce Storefront Next or PWA Kit storefronts, set up Managed Runtime (MRT), which provides the infrastructure for your storefront. Set the correct environment variables in Managed Runtime for your deployed bundle.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Shopper Agent Setup for Storefront Next or PWA Kit Storefronts

For the Shopper Agent to work with B2C Commerce Storefront Next or PWA Kit storefronts, set up Managed Runtime (MRT), which provides the infrastructure for your storefront. Set the correct environment variables in Managed Runtime for your deployed bundle.

For Storefront Next Shopper Agent instructions, see [Install the Agentforce Commerce Client on Storefront Next](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/install-on-sfnext.html).

For PWA Kit storefronts, the Shopper Agent requires PWA Kit v3.19.0 or later. For instructions, see [Install the Agentforce Commerce Client on PWA Kit](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/install-on-pwa-kit.html).