> For the complete documentation index, see [llms.txt](https://faq.altstore.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://faq.altstore.io/developers/download-on-altstore-badge.md).

# “Download on AltStore” Badge

After you make your app live on AltStore, you can add our download badge to your website to easily link people to your app. This works for both AltStore Classic and AltStore PAL.

{% file src="/files/yPhCD5nqjSDTFnoziTDZ" %}

<div><figure><img src="/files/viPW90hNfxQgipJfzWHy" alt="" width="188"><figcaption></figcaption></figure> <figure><img src="/files/X3yITIxZcW3yjfIODgYx" alt="" width="188"><figcaption></figcaption></figure></div>

## Instructions

1. Download the "Download Badge.zip" file above
2. Upload the variant of your choice somewhere publicly accessible via URL
3. Create an AltStore deep link using one of the below [Deep Link Formats](#deep-link-formats)
4. Embed the following HTML code on your website, replacing:\
   \- `YOUR_SOURCE_URL`  with the deep link URL from step 3\
   \- `PATH_TO_IMAGE` with the URL to the image you uploaded from step 2

```
<a href="YOUR_SOURCE_URL" style="display: inline-block;">
    <img src="PATH_TO_IMAGE" alt="Download on AltStore" style="width: 245px; height: 82px; vertical-align: middle; object-fit: contain; />
</a>
```

### Deep Link Formats

**Linking to a source**

{% hint style="info" %}

#### <https://altstore.io/source/><mark style="background-color:yellow;">**URL/TO/YOUR/SOURCE**</mark><mark style="background-color:yellow;">.json</mark>

Example:

**Source URL:** <https://i.cizzuk.net/altstore/source.pal.json><br>

**Deep Link:**

```
https://altstore.io/source/i.cizzuk.net/altstore/source.pal.json
```

{% endhint %}

**Linking to an app in a source**

{% hint style="info" %}

#### <https://altstore.io/source/><mark style="background-color:yellow;">**URL/TO/YOUR/SOURCE**</mark><mark style="background-color:yellow;">.json</mark>?app=<mark style="background-color:$warning;">**APP\_BUNDLE\_ID**</mark>

Example:<br>

**Source URL:** <https://i.cizzuk.net/altstore/source.pal.json>

**App Bundle ID:** net.cizzuk.alare<br>

**Deep Link:**

```
https://altstore.io/source/i.cizzuk.net/altstore/source.pal.json?app=net.cizzuk.alare
```

{% endhint %}

**Linking to a specific app version in a source**

{% hint style="info" %}

#### <https://altstore.io/source/><mark style="background-color:yellow;">**URL/TO/YOUR/SOURCE**</mark><mark style="background-color:yellow;">.json</mark>?app=<mark style="background-color:$warning;">**APP\_BUNDLE\_ID**</mark>\&version=<mark style="background-color:pink;">**APP\_VERSION**</mark>

Example:\
\
**Source URL:** <https://i.cizzuk.net/altstore/source.pal.json>

**App Bundle ID:** net.cizzuk.alare

**App Version:** 3.0<br>

**Deep Link:**

```
https://altstore.io/source/i.cizzuk.net/altstore/source.pal.json?app=net.cizzuk.alare&version=3.0
```

{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://faq.altstore.io/developers/download-on-altstore-badge.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
