---
title: Federate identities
description: Configure PingAM to federate identities between identity providers and service providers using persistent or transient federation, automatic linking, or authentication trees
component: pingam
version: 8
page_id: pingam:am-saml2:saml2-linking-accounts
canonical_url: https://docs.pingidentity.com/pingam/8.1/am-saml2/saml2-linking-accounts.html
llms_txt: https://docs.pingidentity.com/pingam/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2026-06-01T14:34:20Z
keywords: ["SAML 2.0", "Single Sign-on (SSO)", "Federation"]
page_aliases: ["saml2-guide:saml2-linking-accounts.adoc"]
superseded_by: https://docs.pingidentity.com/pingam/8.1/am-saml2/saml2-linking-accounts.html
---

# Federate identities

AM supports linking, or *federating*, identities between the IdP and the SP.

See the following table for a list of tasks to configure how AM federates identities:

| Task                                                                                                                                                                                                                                                                                        | Resources                                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Decide whether to permanently link identities**AM lets you choose whether to maintain the link between federated entities after logout (persistent federation) or to create a new link each time the user logs in (transient federation).Also, learn how to manage persistent federation. | * [Persistent or transient federation](persistent-or-transient-federation.html)                                                                                                  |
| **Link identities automatically**Configure AM to link identities automatically when they exist in both the IdP and the SP, or to create an account on the SP when the `NameID` that the IdP provides unequivocally identifies the identity.                                                 | - [Link identities automatically with auto-federation](auto-federation.html)

- [Create identities automatically with auto-federation](auto-federate-with-dynamic-creation.html) |
| **Link identities using the authentication service**Configure AM to link identities when the `NameID` that the IdP provides is not enough to unequivocally identify the identity.                                                                                                           | * [Link identities for authentication](linking-auth-tree.html)                                                                                                                   |
| **Link identities in the IdP to a single, shared account on the SP**Configure AM to temporarily link an identity in the IdP to, for example, the `anonymous` user in the SP.                                                                                                                | - [Link identities to a single, shared account](auto-federate-using-anonymous.html)                                                                                              |
