# How to generate app id only

**URL:** <https://community.developer.atlassian.com/t/how-to-generate-app-id-only/87119>\
**Category:** Forge Rookies\
**Created:** [December 12, 2024, 1:01am UTC](https://community.developer.atlassian.com/t/how-to-generate-app-id-only/87119 "2024-12-12T01:01:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelwan](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@michaelwan](https://community.developer.atlassian.com/u/michaelwan)\
**Post date:** [December 12, 2024, 1:01am UTC](https://community.developer.atlassian.com/t/how-to-generate-app-id-only/87119/1 "2024-12-12T01:01:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mpaisley](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/mpaisley/32/54538_2.png) [@mpaisley](https://community.developer.atlassian.com/u/mpaisley)\
**Post date:** [December 12, 2024, 1:20am UTC](https://community.developer.atlassian.com/t/how-to-generate-app-id-only/87119/2 "2024-12-12T01:20:27Z")

</div>

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](https://developer.atlassian.com/platform/forge/cli-reference/register/) and other CLI commands in the [CLI documentation](https://developer.atlassian.com/platform/forge/cli-reference/) on [developer.atlassian.com](http://developer.atlassian.com) or by running `forge --help`.

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

Cheers!  
Mel
