# Syncing two different Keycloaks

**URL:** <https://forum.keycloak.org/t/syncing-two-different-keycloaks/7794>\
**Category:** Getting advice\
**Created:** [March 8, 2021, 6:13am UTC](https://forum.keycloak.org/t/syncing-two-different-keycloaks/7794 "2021-03-08T06:13:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyben](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/cyben/32/2547_2.png) [@Cyben](https://forum.keycloak.org/u/Cyben)\
**Post date:** [March 8, 2021, 6:13am UTC](https://forum.keycloak.org/t/syncing-two-different-keycloaks/7794/1 "2021-03-08T06:13:58Z")

</div>

Is there a way to implement a bi-directional sync (in real time if possible) between two keycloak clusters.  
For example syncing the users and groups from one keycloak to the other and vice versa.

---

<div class="post-metadata">

**Author:** ![Cyben](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/cyben/32/2547_2.png) [@Cyben](https://forum.keycloak.org/u/Cyben)\
**Post date:** [March 17, 2021, 6:30am UTC](https://forum.keycloak.org/t/syncing-two-different-keycloaks/7794/2 "2021-03-17T06:30:26Z")

</div>

Is there any idea?

For know I came up to use an directory service

---

<div class="post-metadata">

**Author:** ![razajafarster](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/razajafarster/32/7757_2.png) [@razajafarster](https://forum.keycloak.org/u/razajafarster)\
**Post date:** [May 9, 2023, 5:48am UTC](https://forum.keycloak.org/t/syncing-two-different-keycloaks/7794/3 "2023-05-09T05:48:15Z")

</div>

> [@Cyben](#):
>
> s from one keycloak to the other and vice ver

Do you have any idea how to sync users from Keycloak to ldap directory server
