Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How can I use a heroku app on multiple shopify apps?

How can I use a heroku app on multiple shopify apps?

arunsubburaj
Shopify Partner
4 0 1

Here is what i am trying to achieve.

I have 2 different shopify app with theme app extension that will make some admin rest api calls. So, I have to create a backend code using node js. I have to use the same backend api code for both apps. But when I try to host it against heroku app server it asks for a shopify app's api key and api secret key that will be mapped against the heroku app. Now I can't use the heroku app in two apps due to conflicts in the api keys mapped against the heroku app.

Is there a way to handle this scenario. Basically, I don't want to create multiple heroku apps. Is that possible?

 

Thank you.

Replies 0 (0)