How to add App block on page programmatically when app just installed?

1 0 4

I am developing a Shopify app with a theme-app extension. 
As a final result after installation, I want to add a custom page with app block from the theme-app extension in the online store.
I found how to create a page with Page API, but I can not find a programmatic way to add app block on this page. 

Reply 1 (1)

Shopify Partner
1 0 0

I would also be interested to know if it's possible. I see multiple apps in the App Store, that for example change the way your product page looks, after you install it, without any additional user interaction. I couldn't find anything like that in Shopify documentation.