# Setup Affiliate Public Store

**GoAffPro** provides you with the option to set up the affiliate public store for your affiliates.

{% hint style="info" %}
The affiliate public store option offers affiliates a one-page replicated store. Affiliates can share the public store page with their customers for placing orders.
{% endhint %}

To set up the affiliate public store for your affiliates, go to the **Extras** section in the **Settings** tab of the GoAffPro admin panel.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F6BXlzRRpfsPrOT00aHWd%2Fimage.png?alt=media&#x26;token=fb09ddb4-8788-4040-aeb9-7b362bdfaf36" alt=""><figcaption><p>Settings > Extras</p></figcaption></figure>

Here, go to the Affiliate Public Store section.

![Affiliate Public Store](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fk6kBZzX7yKW95ExsBOj7%2FScreenshot%202021-10-19%201316272.png?alt=media\&token=d2653d48-2a7e-4762-885e-f9a14119a558)

Now, click on **Setup**.

![Click on Setup](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F3SpEhbJNJxDRapOzJQnv%2FScreenshot%202021-10-19%20125434.png?alt=media\&token=61a54671-6afe-4f31-9e99-f5584163fd7f)

This will open up the Setup Affiliate public store window.

![Setup Affiliate public store](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FkA7YEDXb8ei7PHGR7F8p%2Fimage.png?alt=media\&token=40da3ae8-5f4f-442d-a071-b8e24405ed39)

Enter the storefront access token.

**To generate the storefront access token, you can follow the guide below:**

{% content-ref url="setup-affiliate-public-store/generate-storefront-access-token" %}
[generate-storefront-access-token](https://docs.goaffpro.com/program-settings/extra-settings/setup-affiliate-public-store/generate-storefront-access-token)
{% endcontent-ref %}

![Enter the storefront access token](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F7wA12EfKxHwH2wiviPsL%2FScreenshot%202021-10-19%20131833223.png?alt=media\&token=2e62bc73-93c4-4cec-b7aa-8b0eb048934a)

Now, set the shop domain.

{% hint style="info" %}
The shop domain should be set up as a subdomain of your store. For example, you can set it up as shop.example.com or store.example.com.&#x20;
{% endhint %}

![Set shop domain](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FFd38VE4e4Z3KmrdY09AA%2FScreenshot%202021-10-19%20132159.png?alt=media\&token=bf1f8c0e-1548-4af7-88c2-48eccdb750b7)

After this, click on **Submit**.

![Click on Submit](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FEvBld5i7IZbyocSXUWWO%2FScreenshot%202021-10-19%20132541.png?alt=media\&token=425bd7db-22e9-4dda-9132-6e0b950cf2cc)

Finally, create a CNAME record in your domain provider's dashboard with the following values:

<table><thead><tr><th>Name</th><th>Points to</th><th data-hidden></th></tr></thead><tbody><tr><td>shop</td><td>shop.goaffpro.com</td><td></td></tr></tbody></table>

![Create CNAME record](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FOTw62uhkPreZaiHHVLRn%2FScreenshot%202021-10-19%20133511.png?alt=media\&token=0b26cff9-e02e-46bf-98f1-947e987a8fbf)

The public store will now start working.

![](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F5iQSOFsCXHBLpRktUkO2%2Fimage.png?alt=media\&token=862511a1-1e7f-4584-a16f-853545622162)
