> For the complete documentation index, see [llms.txt](https://help.trybeans.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.trybeans.com/integrations/shopify/uninstallation.md).

# Uninstallation

Go to your Shopify admin and confirm that Beans appears on the list of applications on the Apps page.

![](/files/-Mj0JKnURBkpxJFiDdE9)

&#x20;1\. Click on Delete to remove the application from your store.

![](https://lh5.googleusercontent.com/fcbirS3PnRePDBv6_R2SZlKPuTCQSFFtJNEb7jRFwzJSFSwLJHtRxjSpdbTYvV8JVGJUx2bM5zeOdu3vl7hsG6eghUPSgU1eKHLHU4kXcrNUi4vr8pE7zPnxLthrZod1wdtxJqhq=s0)

2\. Remove the pages for your loyalty program or referral program that were automatically created by the Beans app.\
&#x20;       a. From your Shopify admin, navigate to the Pages Section (Online Store >    Pages)\
&#x20;        b. Look for the Rewards Program page and delete it \
&#x20;        c. Look for the Referral Program page and delete it

![](https://lh4.googleusercontent.com/IS0L6bEYKwM2WQwTYO3d8yDEOCBwU3DSYHlcNRhQFNo3-Wwz6aKCkdNJOpz0Ay_KhL6z9tLQRjVzcAlWG1avu6JMdpBKzLN8AbsmrqrxGnwxvsLZoCXX7Z5N85ppxRjSpwtB7Kvw=s0)

3\. The last step is to clear the authentication snippet. \
&#x20;    a.   Navigate to Online Store > Themes select Edit code in the Actions dropdown

![](https://lh4.googleusercontent.com/rLMoX5XvghqVZ-NPArbvWdk6UUgMfGp7du-mxpsjfigvLhM8g3a3-Ajom1V1n0tx7lS--epPE2_nxXqTJ0Io1696T9n6y70kNOh1t3yWOA2bSa0aVxKgMgYs91M8HbuTRgPcpQrS=s0)

&#x20;       b. Open the **theme.liquid** file\
&#x20;       c. Look for the following line and remove it:

```javascript
<script>window.beans_cjs_id = '{{ customer.id }}'; 
window.beans_cjs_email = '{{ customer.email }}';</script>
```

&#x20;       d. Make sure to save your changes.

![](https://lh4.googleusercontent.com/2bZMJRIwY65g7GEakrJ2AzJG7jv-Q2JRQs9G_IignEjnFfbHTNr1oswylt_JAQhgXPYJGq4Zub1YLvn1l72itoqWhCKB6qZozW84nufBdHh7pTElYPTznz1x7ZKBjIsw_rLfGurO=s0)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.trybeans.com/integrations/shopify/uninstallation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
