How to create a contact on MacOS

Hi,
I’m new in these parts and I want to create contacts, in the MacOS App Contact, inside the application, how to.
Thanks

There are Xojo instructions for this but it is deprecated:
AddressBook - Xojo Documentation
You can do it using AppleScript inside Xojo.
Or I think there is an additional payware plugin from MBS.

You can check MBS Xojo Plugins.
See Contacts plugin part.
And check examples we include. be aware that your app needs info.plist entries, code signing and entitlements to be allowed access to the database.