Programatically initialising paragraph field in drupal 8
You should be able to rely on the auto-creating of new paragraphs, instead of assinging the ID, do not save the paragraph and assign it with 'entity' =&gt; $paragraph.

This should then actually save the paragraph when the node is saved.