How to generate app id only

Hi,

When I clone an existing Forge app (from open source repo), the manifest contains the existing app id. If I just run forge deploy, I would get the permission error:

Error: Authorization failed: Principal has insufficient permissions

I’m assuming this is because I do not have access to that app.

In order to install it on my instance to try it out, my current steps are 1) use forge create to scaffold a new app 2) copy the app id 3) paste it into the clone manifest. 4) deploy

This is working but it just a lot of steps. I was wondering if there is a quicker way to generate app id only for this purpose?

Thanks.
Michael

Hey @michaelwan,

To request a new app id, I would first clear the existing one, then run forge register.

You can learn more about Forge Register and other CLI commands in the CLI documentation on developer.atlassian.com or by running forge --help.

If this has answered your question, please mark it as the solution.

Cheers!
Mel

1 Like