Get started - Overview

This get started guide is for integrating Klarna Checkout into your website. By the end of it you will be able to display the Klarna Checkout and confirmation iframe on your website in a test environment.

The guide is composed of the following sections:

About the guide

The purpose of this guide is to walk you trough a direct Klarna Checkout integration, the estimated time of completion is 20 minutes. If you are using a website platform such as Magento, Woocommerce, Shopify or any other e-commerce platform, you could use our plugins or contact your platform provider.

To see a live example, please visit our demostore .

To make things smooother we also made a video tutorial .

How it works

The integration of Klarna Checkout involves four main steps. It starts with a ”create order” API call, to which Klarna responds with an HTML snippet that allows the merchant to render the Checkout iframe.

Once the user fills in their details and presses the “buy button”, the user gets redirected to the merchant’s confirmation page where the merchant renders the Checkout confirmation snippet. In order to do that, the merchant needs to perform a ”read order” API call to which Klarna responds with the confirmation HTML snippet.

If you want a server side integration only, see our Hosted Checkout Page . If you´re developing a mobile app see In-App SDK .

Preparation

To be able to complete this guide you need a website where you can embed the Checkout snippet as well as a sever backend of your choice to make HTTP request towards Klarna.

Test credentials

To perform any API calls, you’ll need user credentials. In Klarna terms, we call these Merchant ID and shared secret. You can create these by requesting them on the test credential page and you can see a step-by-step guide in the movie above.

Help and support

For technical and integration support please see our support page

What’s next?

Let’s start implementing! We’ll begin with creating an order