How to Add a WhatsApp Chat Widget (Button) to Your Shopify Store?
Add A WhatsApp Chat Button To Your Shopify Website
In this guide, you’ll learn step by step how to integrate the Authkey WhatsApp Chat Widget into your Shopify Store website.
Prerequisites
Before you begin, please ensure you have the following:
- Authkey Account
Create your free account at Authkey Signup. - WhatsApp Business API
The Authkey WhatsApp Chat Widget works only on the official WhatsApp Business API.
- If you’re already onboarded, proceed to the next step.
- If not, start your WhatsApp Business API onboarding process.
- A Website
You need access to your website’s code where the widget code will be placed.
Step-by-Step Guide
1. Sign in to Your Authkey Account
- Go to your dashboard.
- Navigate to: Chat Management → WhatsApp Widget → Create Widget.

2. Customize Your Widget
To make your WhatsApp Chat Widget match your brand, fill in the following fields:

- WhatsApp Number
Enter the registered WhatsApp Business API number. - Display Name
Add your business name (e.g., Authkey Support or XYZ Store). This will be shown to users on the widget. - Logo Upload
Upload your company logo to make the widget look authentic and branded. - Background Color
Select a color that matches your website’s theme or brand identity. - Select Template
Choose a predefined widget style or template for a ready-made layout. - Open Widget by Default?: Yes or No
Decide whether the widget should be open automatically when someone visits your website. - Welcome Text
Add a friendly greeting or call-to-action (e.g., “Hi Need help? Chat with us on WhatsApp!”). - Position
Select where the widget will appear on your website: bottom right or bottom left. - Margin Bottom / Right
Adjust the spacing from the screen edge to fit well with your site’s layout.
Once all fields are filled, click “Create Widget” to generate the Code.
3. Embed the Widget Code on Shopify Website.
Copy the Generated Code by clicking on the “copy” button.

Adding WhatsApp Chat Button to Shopify
Access Your Shopify Theme
Log in to your Shopify admin panel. Navigate to Sales Channels → Online Store → Themes.

Open Theme Code Editor
Next to the Customize button, click the [⋯] three-dot menu and select Edit Code.

It will open the Shopify theme editor.
In the code editor, go to Layout → theme.liquid.
This file controls the structure of your entire store. So we will put WhatsApp button code here, which will apply to every webpage of Shopify Store.

Please paste the Widget copied code here. Before the </body> tag inside the theme.liquid file.

Click Save to update your theme.
That’s it! You’ve successfully added the WhatsApp Chat Button to your Shopify store, and it will now appear across your entire site.
