Best action hook to create custom post and assign taxonomy terms to it on plugin activation?

According to the docs, I needed to set the terms using post ID. So after every insert, I used the ID to set the terms https://codex.wordpress.org/Function_Reference/wp_set_post_terms

Someone might find this useful.