Automatic pairing of 2 esp-32 modules with their BLE's

Hello,
I've been working on a project where I wanna pair two ESP-32's modules automatically using BLE's. Anyone please suggest me how can I achieve this?
Thanks in advance