# Klarna configuration

Sign in to the Klarna.

Go to `Settings > Klarna API Keys` menu item in the sidebar menu and click on `Developers > API keys` then generate new pair of API Username and API Password. Copy **Key ID (API Username)** and **API Password** for further usage at VirtueMart side in payment method:

<figure><img src="/files/XsT8EGBeMcpbZbgw2DtP" alt="Klarna dashboard > Settings >  Klarna API keys"><figcaption><p>Go to Klarna dashboard > Settings >  Klarna API keys</p></figcaption></figure>

Please copy the following data:

* **Key ID (API Username)**
* **API Password**

<figure><img src="/files/6FAxcbx6nplFPUh37T9L" alt="Klarna API keys generated"><figcaption><p>Klarna API keys generated</p></figcaption></figure>

### Payment methods

* Log in to your **Klarna Merchant Portal**.
* Go to **Settings → Payment Methods**.
* Enable the additional methods you want to offer (e.g., **Pay Later**, **Slice It**, **Direct Debit**, etc.).
* Save your changes. These methods will then appear automatically in your Klarna integration, depending on the shopper’s country and eligibility.

In case of troubles with adding payment method, please contact Klarna's support team directly.

#### A video 'How to add payment method in Klarna' from third-party person:&#x20;

{% embed url="<https://www.youtube.com/watch?v=-q1UVO-1TqM>" %}

{% hint style="warning" %}
There is no need to activate payment methods on VirtueMart payment plugin. All methods are acceptable and you just need to set up them on Klarna's side.
{% endhint %}


---

# 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.norrnext.com/klarna-payments-hpp-for-virtuemart/klarna-configuration.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.
