How to create a plugin with backend API calls to populate composer while drafting?

Finally I found a great tutorial on how to write a plugin.