How to allocate leaves from Policy?

Apologies if I’m missing something obvious, but I’m completely new to this software and have just set up FrappeHR in Docker today.

I’m confused about the Leave Policy usage. I’ve created one and set a leave type to have 20 days, but even after applying all other settings I could find (creating a leave period and assigning the policy to employees), the employees still have 0 allocated leaves.

Do I have to manually allocate the 20 leaves for each employee after assigning the leave policy, or is there something I’m missing here?

No, by submission of leave policy assignment it should create allocation automatically. Please share the detials and screenshots of your work so that we could assist.