---
title: Account-linking datastores
description: Configure where you want to store account links, either internally or externally.
component: pingfederate
version: 13.0
page_id: pingfederate:administrators_reference_guide:pf_account_link_datastore
canonical_url: https://docs.pingidentity.com/pingfederate/13.0/administrators_reference_guide/pf_account_link_datastore.html
revdate: August 15, 2023
section_ids:
  related-links: Related links
---

# Account-linking datastores

Configure where you want to store account links, either internally or externally.

When a service provider (SP) is configured to use account linking for an identity provider (IdP) connection, by default PingFederate uses the built-in Hyper SQL Database (HSQLDB) as the account-link repository. You can also configure PingFederate to store account links on an external database server or directory server. For specific instructions on how to configure these options, see the following topics:

* [Configuring external databases for account-link storage](pf_config_external_database_for_account_link_storag.html)

* [Configuring directories for account-link storage](pf_config_directori_account_link_storag.html)

|   |                                                                                                                                                                                                                                                                                                                                                                                                               |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | Use the built-in HSQLDB only for trial or training environments. For testing and production environments, always use a secured external storage solution for proper functioning in a clustered environment.Testing involving HSQLDB is not a valid test. In both testing and production, it might cause various problems due to its limitations and HSQLDB involved cases are not supported by Ping Identity. |

## Related links

* [Account linking](../introduction_to_pingfederate/pf_acc_link.html)

* [About Server Clustering](../server_clustering_guide/pf_server_clustering_guide.html)
