# Drive training assignments from your HR system

> How to let your HR system decide who gets which training in EduBase, through an HR synchronization or the REST API, with departments and job roles in step.

When people join, move or leave, their training should follow without anyone retyping the change into the training system. EduBase can take its people, departments and job roles from your HR system, and assign competencies from them, so the HR system decides who needs what and EduBase delivers and tracks it. There are two ways: an HR synchronization set up together with the EduBase team, or your own integration through the REST API.

Available on the Business plan. Plans and limits depend on your contract.

## Two ways to connect

| | HR synchronization | REST API |
|---|---|---|
| Who builds it | Configured together with the EduBase team | Your developers |
| How it runs | Scheduled runs from the source system | Your system calls EduBase when something changes |
| What it covers | Accounts, departments, job roles, administrator rights, competency assignment from activity or position codes | Users, departments and their tree, leaders, default permissions, job roles, members' custom permissions and restrictions |
| Details | [HR and enterprise system synchronization](https://help.edubase.net/integrations/hr-sync/) | [The REST API](https://help.edubase.net/integrations/api/), [developer.edubase.net](https://developer.edubase.net/) |

## What an HR synchronization does

- Creates, updates and deactivates accounts from the source records.
- Maps departments by their external ID, and sets members' job roles from the HR system's job classification.
- Grants administrator rights to named employees, kept as custom permissions inside their department.
- Maps HR activity or position codes onto competencies, so a code in HR assigns the right training.
- Resolves the source system's dictionary codes into readable values.
- Offers a dry-run mode, a file-based fallback and notifications.

It has been used with HR systems, education information system aggregators and enterprise asset management platforms, so connecting a new source system is a configuration exercise.

## How assignments follow changes

- **A new hire** with a job role inherits the competencies of that role and of their department.
- **A move** to another department or job role brings the new role's competencies and withdraws the ones only the old role required.
- **A leaver's** account is deactivated.
- **Safety net:** assignments made by the synchronization are withdrawn when no longer needed, but manual assignments are always kept, and an incomplete HR data run never withdraws qualifications.

## Related

- [Run mandatory training with less manual work](https://help.edubase.net/guides/mandatory-training/)
- [Assign competencies by department or job role](https://help.edubase.net/compliance/assign/)
- [Departments, hierarchy and leaders](https://help.edubase.net/organization/departments/)
