> For the complete documentation index, see [llms.txt](https://docs.gpt4business.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gpt4business.ai/getting-started/integrations/shopify.md).

# Shopify

The GPT4Business.ai chat widget can be easily embedded into a Shopify store to enable AI-powered customer interaction. Follow these steps to integrate the widget into your Shopify website:

### **Steps to Embed the GPT4Business.ai Chat Widget**

1. **Obtain the Chat Widget Code:**

* Log in to the GPT4Business.ai dashboard.
* Create or select the chatbot you want to embed.
* Copy the embeddable chat widget code to your clipboard.

2. **Access Your Shopify Theme Code:**

* Log in to your Shopify admin panel.
* Navigate to Online Store > Themes.
* Locate your current theme and click the three dots menu next to its name.
* Select Edit Code to access the theme files.

3. **Edit the Theme.liquid File:**

* In the code editor, find the theme.liquid file under the Layout section.
* Scroll to the very bottom of the file to locate the closing \</body> tag.
* Paste the GPT4Business.ai chat widget code directly above the \</body> tag.

4. **Save and Verify:**

* Click Save to apply the changes.
* Visit your Shopify store and refresh the page to confirm that the chat widget is visible and functional.

### Outcome

After following these steps, the GPT4Business.ai chat widget will be successfully integrated into your Shopify store, providing:

* Real-time customer support.
* Enhanced customer engagement.
* An AI-driven tool to assist with inquiries and improve user experience.

### Summary

To add the GPT4Business.ai chat widget to a Shopify store, you simply paste the widget’s script code into the theme.liquid file above the closing \</body> tag. This method ensures the widget appears across the entire store, enabling AI-powered interactions with minimal setup.

For additional support or questions, contact the GPT4Business.ai team.
