Add List Item, Microsoft 365 Sharepoint, column type PersonOrGroup

How to dynamically add a Person (by name) into a column that is type PersonOrGroup?
How to dynamically add a Person (by name) into a column that is type PersonOrGroup?