Create new app from script

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

App

Expected behavior

We would like to create a new custom app and deploy a version, all within a github action. With no user interaction required.

Actual behavior

N/A

Reproduction steps

N/AN/A

Verbose output

N/A

Operating system

N/A

CLI version

3.87.4

Shell

n/a

Nodejs version

n/a

What language and version are you using in your application?

n/a

Hi, I’d suggest providing some more information as this is very vague currently.

Basically we create the same custom app over and over again for many merchants.

Why? Because it needs the read_users scope and for some reason Shopify only allows custom apps to get the scope.

Repeating the same steps to create the same app is error prone and time consuming.

Hence why we would like to create an app with the cli from scratch, without requiring any interactive user steps such as logging in the partner dashboard.

Hi @Clement_BR

That’s not possible currently but have logged this as feedback for our product team.

Hi @Clement_BR

I assume the specific limitation you are running into here is the interactive questions in the app init command?

Yes exactly the init step is the one we cannot automate in a script

1 Like

@Clement_BR

If you need to spin up a lot of apps for clients, it sounds like the most suitable distribution model would be if your app was an unlisted public app. This means merchants can install the app using a direct installation link, but the app won’t appear in public search results or app store categories. The advantage to you would be that you wouldn’t need to recreate the same app over and over.

1 Like

Public apps cant be granted read_users