Klarna Docs - Before you start
Before you start

Ready to offer Sign in with Klarna to your customers? Here's what you need to know before integrating the product in your store's website.

To integrate with the Sign in with Klarna, please ensure you have generated an API key. If you don’t have one, you can go to API Key settings page on Merchant Portal to obtain one.

To integrate Sign in with Klarna into your application, please select the integration option that best aligns with your requirements and follow the corresponding integration steps:

Type of integration Suitability
Web SDK Web SDK Fastest and easiest way to integrate Sign in with Klarna.
Mobile SDK Mobile SDK Suitable if you require to integrate Sign in with Klarna via iOS and Android apps.
OpenIDConnectOpenIDConnectDirect API integration allows for full control and customization; however, this integration is more complex and time-consuming.
Customer Identity Cloud Provider Customer Identity Cloud ProviderSuitable if you already have a relationship with any of our supported Customer Identity Cloud providers:
  • Auth0
  • Microsoft Azure
  • Google Firebase
  • AWS Cognito
  • Cidaas
If your Customer Identity Cloud provider isn't listed, please reach out to us.

Log in to the Merchant portal using one of the following links:

To try out the feature, perform a test integration in the test (playground) environment.

The changes you make in the playground environment won't impact your production integration.

null

The login screen of the Merchant portal.

Once you're logged in, go to the Conversion boosters section on top or use the Sign in with Klarna shortcut in the Tools section.

null

Now you can see the Sign in with Klarna app on the on the sidebar. Select a Store from the drop-down and click on Get started to begin the onboarding.

null

First check if the name of your business is correct. If you would like to change it, please click on the "Manage Brand" link.

Then provide links to your site's Terms and conditions and Privacy policy. Those will be displayed on the Klarna consent screen.

null

After that, provide URLs of all pages where you would like to redirect shoppers after they signed in.

In case of a mobile integration, please provide your app's URL scheme.

null

To complete the setup, please specify the mandatory data required from customers to create an account. Additionally, indicate which data is optional and can be disabled by the user.

null

If you’re integrating SIWK with a “Customer Identity Cloud Provider” (e.g., Auth0, Google Firebase), configure your client type as CONFIDENTIAL, as they require you to obtain a client secret. Otherwise, leave it as PUBLIC. Check the next section for more details.

null

Congratulations! You can now proceed with the implementation.

To ensure proper functionality, include the client identifier from the installation page in your integration.

null

  1. Navigate to the Settings menu in the bottom-left corner.
  2. Select Klarna API Keys from the menu.
  3. On this page, you can generate a new API Key. This key will serve as your Client Secret, required for the token exchange method during the SIWK login flow.
null

Important: The Client Secret will only be displayed once. Make sure to download or securely save it when it’s generated.

In order to test your integration of Sign in with Klarna follow our for Sign-in with Klarna/ Testing guide.

Are you ready to go-live? Review the for Sign-in with Klarna/ Integration checklist to validate that you are ready to go.

By integrating and using Klarna’s log-in feature Sign in With Klarna you as a merchant  acknowledge and accept the terms and conditions of the solution. Read more here..