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

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

prudenko
Visitor
1 0 5

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. 

Replies 2 (2)

Sh1Ft
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.

RohitGohel
Shopify Partner
2 0 0

Hello Prudenko,

Have you got any solution for that issue, because I am facing the same issue.