--- title: "ReCharge Code Snippet" slug: "deploying-retentionengine-recharge" updated: 2021-01-28T18:13:01Z published: 2021-01-28T18:13:01Z canonical: "docs.bellwethr.com/deploying-retentionengine-recharge" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.bellwethr.com/llms.txt > Use this file to discover all available pages before exploring further. # ReCharge Code Snippet ## Installing the RetentionEngine Code Snippet The final step to integrating the RetentionEngine and ReCharge paste the RetentionEngine Code Snippet onto your Shopify store theme. ## Step 1: Locating the Code Snippet The Code Snippet is located in the RetentionEngine dashboard under the "Settings" tab. ![](https://cdn.document360.io/ac5d6d3b-d1b3-4a56-b758-d584b80df54b/Images/Documentation/settings%20tab_%20code%20snippet.png) Once you've copied the Code Snippet, you'll be able to paste it into your application using the next set of instructions. ## Step 2: Paste the Code Snippet 1. Log into your Shopify admin panel. Once there, you should click on the "Online Store" tab in the left menu. ![](https://downloads.intercomcdn.com/i/o/168444989/21d68a482d400119ae219b6d/screen1_edited.png) **2. Select "Themes" in the left menu under "Online Store"** **3. On your Live Theme, select the "Actions" dropdown and select "Edit Code"** **![](https://downloads.intercomcdn.com/i/o/168445228/bd9513a2c3727bbcecf69b6f/screen2_edited.png)** #### **4. Under "Layout" select the "theme.liquid" section (see screenshot).** #### **#### **![](https://cdn.document360.io/ac5d6d3b-d1b3-4a56-b758-d584b80df54b/Images/Documentation/go%20to%20theme.liquid%20section%20(1).png)** #### **5. Paste the code snippet in this section. Make sure it's above the `` and the`` tags (see screenshot).**** **![](https://cdn.document360.io/ac5d6d3b-d1b3-4a56-b758-d584b80df54b/Images/Documentation/code%20snippet%20paste%20(2).png)** **Hit "Save" once you're done!** **Need extra help?****If you're having trouble and use Shopify, we can take care of this last step for you! [Add a Bellwethr team member as a Shopify partner](https://docs.bellwethr.com/v1/docs/adding-a-bellwethr-staff-account-to-shopify) that has only permission to edit the theme, which will allow us to safely edit your Shopify site without revealing any sensitive information about your business. Team Member to Add: Tapiwa Mapfundematsva, [tapiwa@bellwethr.com](mailto:tapiwa@bellwethr.com,).** ## ## **Troubleshooting** ### **Still not live? Check Your ReCharge Customer Portal Settings** **If you've pasted the code snippet, but RetentionEngine is not live on your site, it may be because of your Customer Portal Settings. Here's how to check/update your ReCharge Customer Portal settings:** 1. **Click on the tool icon and choose "Customer portal".** 2. **Select "Embedded in platform storefront" under customer portal location.** 3. **Scroll down and click "Save".** **![](https://cdn.document360.io/ac5d6d3b-d1b3-4a56-b758-d584b80df54b/Images/Documentation/Screen%20Shot%202020-10-14%20at%2011.58.46%20AM.png)** ### **Are you on ReCharge Pro?** **If you're on Recharge Pro:****Send a message to [support@bellwethr.com](mailto:support@bellwethr.com) or reach out to us via chat. We need to make a slight adjustment to the code snippet to ensure that it works for your storefront.**