Activating On-site messaging in Klarna merchant portal
Klarna’s '''On-site messaging''' enhances customer engagement and boosts conversions by displaying Klarna’s flexible payment options throughout the shopping experience. This section provides step-by-step guidance on installing, configuring, and optimizing Klarna On-site messaging in VTEX.
Before setting up On-Site Messaging in VTEX, you need to activate it in the Klarna Merchant Portal and retrieve your Client Identifier.
Log in to the Klarna Merchant Portal using your merchant credentials and navigate to Conversion boosters > On-site messaging, select the appropriate store from the dropdown menu, and click Get started.
OSM merchant portal
A pop up will appear asking you to register the origin domain of the store where you will be using On-site Messaging, enter the origin and click Register.
Register origin
Your Client Identifier will be generated. Copy it as you will need it to configure OSM in VTEX.
In VTEX Admin, navigate to Apps > Installed Apps > Klarna On-Site Messaging, then click Edit to unlock the configuration fields.
Navigate to OSM app
Enable On-Site messaging by toggling Enable OSM on.
Enable OSM
Enter your Client ID retrieved from the Klarna Merchant Portal.
Choose a language (locale) for the messaging, and select a design theme:
Default → Light background.
default theme OSM
Dark → Dark background.
Dark theme OSM
language and theme
Test Mode: Set depending on the Klarna environment you want to use:
On – Uses Klarna’s Playground (test) environment.
Off – Uses Klarna’s Production environment.
Test mode toggle
Toggle on or off the placements you want to use in your store.
Important
Enabling the toggle in the Klarna OSM app only activates the placement settings. You must still manually insert the placement blocks into your store’s theme for the messaging to appear.
For detailed instructions, refer to the next section of this guide.
To display Klarna’s On-site Messaging in your store, you need to enable placements in the Klarna OSM app and insert placement blocks into your store’s theme.