> For the complete documentation index, see [llms.txt](https://docs.premsoft.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.premsoft.de/en/plugins/single-sign-on-sso/admin-dashboard/mapping.md).

# Mapping

Before you can use the **Login with** your identity provider button, you need to map the identity provider data fields to your Shopware fields.

This is important for Shopware, because it has some required fields that are necessary for creating a customer and do a login. There are required fields like like e-mail, firstname, lastname and address data. Depending on teh identity provider and only some of those fields are available.

If you choose one of our drafts for you SSO login button entry, the mapping is already pre-defined.

For expert users: You can change the mapping and add additional fields by clicking the **Add** button.

<figure><img src="/files/TEOOZd0m198rQDbqs8qg" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you are not sure if there is a required value available use the **Default value** setting. In that case the value is filled by this default value as a fallback.

If a variable doesn't exist at identity provider site, you can also leave the **SSO Field** empty.
{% 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.premsoft.de/en/plugins/single-sign-on-sso/admin-dashboard/mapping.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.
