# 4.AppID

```yaml
#Example ONLY
app_id: "Appstream App Id, flatpak's scheme preferred, otherwise can be empty"
```

* [x] <mark style="color:purple;">**`app_id`**</mark> is [AppStream App Id](https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic). (**TYPE:**<mark style="color:green;">**`RECOMMENDED`**</mark>)
* [x] You can find the <mark style="color:purple;">**`app_id`**</mark> by searching it on [Flathub](https://flathub.org/)

<figure><img src="https://2147491179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftr35WJgbcPcZKcyo2hCI%2Fuploads%2Fgit-blob-8736769e473b164785ac47e4fb8f462a0c3f9509%2F382792073-877263b5-8cbd-4a76-bcb6-1df738643fa2.png?alt=media" alt=""><figcaption><p>Finding <code>app_id</code> of FireFox on <a href="https://flathub.org/">FlatHub</a></p></figcaption></figure>

* [x] You can also find it in [**Appstream**](https://www.freedesktop.org/software/appstream/docs/) **`Appdata.xml`** or **`Metainfo.xml`** files

<figure><img src="https://2147491179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ftr35WJgbcPcZKcyo2hCI%2Fuploads%2Fgit-blob-7ca59f3005e01c1e2425c784e01a63ef5e104012%2F382793193-0f4d2c3e-95a9-4ad0-b57d-05bbca6f3748.png?alt=media" alt=""><figcaption><p>Finding <code>app_id</code> from AppStream</p></figcaption></figure>

{% hint style="info" %}

* Sometimes, this id can also be found in **`.Desktop`** file.

* **If you can't find the** <mark style="color:purple;">**`app_id`**</mark> at all, Just **DO NOT USE IT** or **JUST LEAVE EMPTY**
  {% endhint %}

* [x] <mark style="color:purple;">**`app_id`**</mark> is **USED FOR DESKTOP INTEGRATION**

{% hint style="info" %}
This is **NOT TO BE CONFUSED** with <mark style="color:purple;">**`pkg_id`**</mark>, <mark style="color:purple;">**`pkg_id`**</mark> **is to identify the pkg**, it is **NOT FOR DESKTOP Integration**
{% endhint %}
