# Customer profile referral block

### How to set up

{% stepper %}
{% step %}

#### E**nable the function**

Go to **Extra Functions > Referral program > Display** to activate it

<div align="left"><figure><img src="/files/9efgWLJy6xKkZkc9gAbB" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

#### Give the app permission to view customer data

After turning it on, you will need to grant the app permission to access customer data so it can properly retrieve and display the required customer information.

<div align="left"><figure><img src="/files/HqsGZWqlNG5NgF9jtkul" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/3dAnmu14hRD9QnkbgruG" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

#### Select a position for the Customer Profile display

Next, you need to add the **Customer profile referral** **block** in the theme settings so advocates can see it after logging into their customer accounts on your Shopify store.

<div align="left"><figure><img src="/files/AWbEtLrYgoIpRLkxw9qX" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/r13qX5nxDbDDe2VvOo5U" alt=""><figcaption></figcaption></figure></div>

Now click **Save** and the setup is all done!

<div align="left"><figure><img src="/files/wmGkLMM3MO3bX0z3Y4ek" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

### How advocates check their referral activity

Now advocates can open your store website and log into their customer accounts using their advocate account email address.

<div align="left"><figure><img src="/files/nvwpt7B0vgYFEvOYNKiI" alt=""><figcaption></figcaption></figure></div>

From there, they can track their performance, including total referrals, total sales, order numbers and claim rewards such as:

* [Discount codes](https://docs.bixgrow.com/referral-program/set-up-rewards/discount-codes#how-advocates-claim-their-discount-codes)
* [Store credit](https://docs.bixgrow.com/referral-program/set-up-rewards/shopify-store-credit#how-advocates-view-their-available-store-credit-balance)
* [Free product](https://docs.bixgrow.com/referral-program/set-up-rewards/free-product#redeem-free-product-on-customer-profile-account)

<div align="left"><figure><img src="/files/oUtaqvSQF6iIEzrQ35Ri" alt=""><figcaption></figcaption></figure></div>

### Edit translations

If your store supports multiple languages, you can select a language here and customize the text displayed in the **Customer Profile**. This allows advocates to view the referral information in their preferred language.

<div align="left"><figure><img src="/files/tXuxYDdRtoevJCKERnty" alt=""><figcaption></figcaption></figure></div>


---

# 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.bixgrow.com/referral-program/customer-profile-referral-block.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.
