# 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="/files/R994NTqIR98vPjfrMVi1" alt=""><figcaption><p>Settings > Extras</p></figcaption></figure>

Here, go to the Affiliate Public Store section.

![Affiliate Public Store](/files/0qA9cre56JKsr5nUvibS)

Now, click on **Setup**.

![Click on Setup](/files/PEepzqgNlBfmUqjJh2WD)

This will open up the Setup Affiliate public store window.

![Setup Affiliate public store](/files/ktsibgnDyEbTapD65vBs)

Enter the storefront access token.

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

{% content-ref url="/pages/JAqZTOumwo9dEeoVJHzl" %}
[Generate Storefront Access Token](/program-settings/extra-settings/setup-affiliate-public-store/generate-storefront-access-token.md)
{% endcontent-ref %}

![Enter the storefront access token](/files/pBKFrDKy26cSuf7QeWPW)

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](/files/Fov1v41NaNvdQpKNynVp)

After this, click on **Submit**.

![Click on Submit](/files/M1KcbszGwBNbCTxTRVDs)

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](/files/GFGsu0WulR6NbjnPE8ZL)

The public store will now start working.

![](/files/y0NHfbU3xcRCjwaTU8Na)


---

# Agent Instructions: 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:

```
GET https://docs.goaffpro.com/program-settings/extra-settings/setup-affiliate-public-store.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
