Automatically add entries per category custom taxonomy upon plugin installation

I have a plugin created with boilerplate from this site:
https://wppb.me/

And I would like to understand how to automatically add 4 entries in the custom taxonomy category that I have already processed.

I guess this code goes on the activator.php file, but I don’t know what code to apply to automatically generate these 4 categories.

Can you guys help me?