> For the complete documentation index, see [llms.txt](https://shibconnect.gitbook.io/shibconnect.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shibconnect.gitbook.io/shibconnect.com/how-it-all-works.md).

# How it All Works

In order for a user to earn referral rewards, a buyer must accept their corresponding referral link and then place a buy order through PancakeSwap.&#x20;

<figure><img src="https://3821061858-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMXKJ51QqYqknplIDT6yP%2Fuploads%2F07rXKYsVQP7gWR90E1CO%2Fimage.png?alt=media&amp;token=5673daad-581c-4c25-ac05-305d5ecb652b" alt=""><figcaption></figcaption></figure>

After clicking the referral link, the buyer is brought to our Dashboard and a confirmation box appears. \
\
Upon clicking accept, a MetaMask transaction pops up to send a contract interaction, which will accept the referral for the buyer and log the event in the blockchain.

&#x20;After this is complete, any buys the buyer places (no matter if they are placed through our Dashboard, or through PancakeSwap directly) will instantly have a 2% fee deducted and sent to the referrer.
