Import of MAC to IP # locks

I have a lengthy list of mac numbers that I’d like to lock to IP numbers
What is the best way to do this with a new RB5009
I assume that there is a format to follow for import

DHCP server static lease

https://help.mikrotik.com/docs/display/ROS/DHCP#DHCP-Leases
https://serverfault.com/questions/1067853/