guides docs
Connect WooCommerce Store
Step-by-step guide to connect your WooCommerce store with WhatAPI for automated WhatsApp notifications.
Connect WooCommerce Store
This guide walks you through connecting your WooCommerce (WordPress) store to WhatAPI.
Prerequisites
- A WordPress site with WooCommerce installed and activated
- WhatAPI account with WhatsApp connected
- Administrator access to your WordPress admin panel
Step 1: Generate API Keys
- Log in to your **WordPress Admin** dashboard.
- Go to **WooCommerce → Settings → Advanced → REST API**.
- Click **Add Key**.
- Enter a description (e.g., "WhatAPI Connection").
- Select **Read/Write** as the permissions.
- Select a user (preferably an administrator).
- Click **Generate API Key**.
Step 2: Copy Credentials
After generating, you'll see two important values:
- Consumer Key — A long alphanumeric string
- Consumer Secret — Another long alphanumeric string
Important: Copy these immediately. The Consumer Secret will not be shown again.
Step 3: Connect in WhatAPI
- Go to your WhatAPI dashboard → **Connect Store**.
- Select **WooCommerce** as your platform.
- Enter your site URL (e.g., `https://yourstore.com`).
- Paste the **Consumer Key** and **Consumer Secret**.
- Click **Connect**.
Step 4: Verify Connection
If successful, you'll see a success message and your store URL in the connection status panel. Orders placed in WooCommerce will now trigger WhatsApp notifications.
Troubleshooting
- Connection refused: Ensure your site URL is correct and includes `https://`.
- Invalid credentials: Regenerate the API keys in WooCommerce settings.
- SSL required: Your site must have SSL (HTTPS) enabled.
