# Setup Affiliate Store

#### To set up the affiliate store in the GoAffPro app:

To set up the affiliate store, install the [Headless channel](https://apps.shopify.com/headless) from the Shopify app store.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FHQPLSb0vDWk3TPuX6Pjt%2FScreenshot%202026-01-06%20151125.png?alt=media&#x26;token=6309ed98-1af4-407e-b66b-7358bc5d0734" alt=""><figcaption><p>Install the Headless channel from the Shopify app store</p></figcaption></figure>

This will open up the Storefronts section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FeFi3jRx9eh9NvMT9crZd%2Fimage.png?alt=media&#x26;token=4de0a41f-b168-4136-8821-50dd6656f2bc" alt=""><figcaption><p>Storefronts</p></figcaption></figure>

Here, click on **Create storefront**.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FCMvQDEXQ9a3AsodFoeVP%2FScreenshot%202026-01-06%20151404.png?alt=media&#x26;token=bb9418ce-85e8-4bb0-8d81-68e533b632af" alt=""><figcaption><p>Click on Create Storefront</p></figcaption></figure>

To access the Storefront API, click on **Manage**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FeCjf98FDIq55PaknqQ5V%2FScreenshot%202026-01-06%20151420.png?alt=media&#x26;token=91912ac5-1ede-4221-9d1c-6889a1f76404" alt=""><figcaption><p>Storefront API > Click on Manage</p></figcaption></figure>

This will open up the Storefront API section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F0qd8Kq9ExoAw4LCmbdcc%2Fimage.png?alt=media&#x26;token=24b795e0-7e79-4f83-b907-9065a0626976" alt=""><figcaption><p>Storefront API</p></figcaption></figure>

Next, click on **Edit** to update the Storefront API permissions.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FwPOJfHFB1pJmd2d6pY44%2FScreenshot%202026-01-06%20151449.png?alt=media&#x26;token=3069dd8d-9b39-4a69-b693-27d8c2fecc48" alt=""><figcaption><p>Storefront API permissions > Click on Edit</p></figcaption></figure>

After this, enable the "unauthenticated\_read\_product\_inventory" permission.&#x20;

{% hint style="info" %}
The following Storefront API permissions need to be enabled:&#x20;

* unauthenticated\_read\_product\_listings
* unauthenticated\_read\_product\_inventory
* unauthenticated\_read\_product\_tags
* unauthenticated\_read\_customers
* unauthenticated\_write\_customers
* unauthenticated\_read\_content
* unauthenticated\_read\_checkouts
* unauthenticated\_write\_checkouts

Please note that most of these permissions are enabled by default.
{% endhint %}

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FLiZZe9ZdMWV40RuNfBDs%2FScreenshot%202026-01-06%20151504.png?alt=media&#x26;token=8646fe0c-ca5a-4487-ab3c-eda9d4bfde23" alt=""><figcaption><p>Enable the "unauthenticated_read_product_inventory" permission</p></figcaption></figure>

Finally, click on **Save**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fbi7MdquO2zrXll47GSPY%2FScreenshot%202026-01-06%20151516.png?alt=media&#x26;token=c53ece37-b9f3-45a6-8709-3522c6763435" alt=""><figcaption><p>Click on Save</p></figcaption></figure>

Now, copy the Storefront API access token.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Flq6N2cyX271CWkJU6qNM%2FScreenshot%202026-01-06%2015152942.png?alt=media&#x26;token=27af0a62-d8f7-4c50-9c7e-9067de168b19" alt=""><figcaption><p>Copy the Storefront API access token</p></figcaption></figure>

Paste the Storefront API access token in the Affiliate Store section of the GoAffPro app.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FaMEwXV2ZjrBkSXT9hLzw%2FScreenshot%202026-01-06%20151550.png?alt=media&#x26;token=4bc90a00-e645-4a72-8cb9-31e66eeae525" alt=""><figcaption><p>Paste the Storefront API access token</p></figcaption></figure>

Finally, click on **Submit**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Foy6ylUBY7tlmNTlypQ8r%2FScreenshot%202026-01-06%20151603.png?alt=media&#x26;token=4109f39c-7908-4549-b87c-4fe1835f64ae" alt=""><figcaption><p>Click on Submit</p></figcaption></figure>

The affiliate store is now enabled and will be visible in the affiliate dashboard.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FtJAttgISQhyTp2yZwO2V%2Fimage.png?alt=media&#x26;token=4338029f-1cd7-46ee-8fee-f042c1c121bb" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/7vOPVxdIjd0>" %}
Generate Storefront Access Token
{% endembed %}
