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

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)