# Configure Klarna

## Step 1: Sign up & Sign in

When working with Klarna, you'll need to sign up for a live and a developer account.

### Sign up for a live account

1. Open the [Klarna site](https://www.klarna.com/).
2. Navigate to the **Klarna for Business** section.
3. Sign up as a **Seller**.

![The interface when signing up for a Klarna live account.](/files/r8Zm9pc3ot0p9vZbLmQs)

### Sign up for a developer account

1. Click the **Log in** button in the navigation bar of [Klarna Docs](https://docs.klarna.com/resources/developer-tools/testing-payments/before-you-test/).
2. Select the region of your credentials (for example, *Europe*).
3. Select the environment.
4. Click **Sign up**.

![The interface when signing up for a Klarna developer account.](/files/mroPjIGy1iAk1gF7lv9C)

{% hint style="info" %}
Both sign-up processes can take a while. Be sure to sign up well in advance of going live.
{% endhint %}

### Get your credentials

1. Sign in to the two platforms mentioned below
   * [Live](https://auth.eu.portal.klarna.com/auth/realms/merchants/protocol/openid-connect/auth?client_id=merchant-portal)
   * [Developer](https://login.playground.klarna.com/)
2. Continue following the steps in this article, for each portal.

![The Klarna Login screen](/files/wdvw0qW03eMPftnf9RlV)

## API Credentials

Once you are signed in to the Klarna portal(s), follow the steps below to get your API Credentials.

1. Click the **Settings** option at the bottom of the menu on the left-hand side.
2. Select the **Klarna API Credentials** heading.

![Overview of the Klarna developer portal.](/files/BBCgfQHp4sLiu7fm1tyL)

3. Select **Generate new Klarna API Credentials.**
4. Click **Create Credentials** in the dialog that follows.

You'll be presented with a username and password that you'll need to note down for later use.

![The dialog where you create your Klarna API credentials.](/files/TIzdY8nyS990pHNi1hCK)

![The dialog that presents your Klarna credentials.](/files/mkt0mJ00rGNOYuCqHxeI)

## Viewing / Managing Orders

When you start taking orders, you'll be able to view and manage your Klarna orders directly from the portal.

* Navigate to the **Orders** section linked to from the menu on the left-hand side.

![Overview of Klarna orders.](/files/VYGLUlNeqYnx11GfzjRA)

![Overview over how an order looks like in the Klarna portal.](/files/phHqt4D9VTwUBJhkthiO)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/umbraco-commerce-payment-providers/klarna/configuring-klarna.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
