> For the complete documentation index, see [llms.txt](https://docs.norrnext.com/klarna-payments-hpp-for-phoca-cart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.norrnext.com/klarna-payments-hpp-for-phoca-cart/klarna-configuration.md).

# Klarna configuration

Sign in to the Klarna.

Navigate to `Settings > Klarna API Keys` in the sidebar menu. Then go to `Developers > API Keys` and generate a new pair of credentials (API Username and API Password). Copy the **Key ID (API Username)** and **API Password** — you’ll need them later when configuring the Klarna payment method in Phoca Cart:

<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’s no need to activate individual payment methods in the Phoca Cart Klarna plugin. All available methods are supported — you only need to configure them directly in your Klarna account.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.norrnext.com/klarna-payments-hpp-for-phoca-cart/klarna-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
