Connecting your Shopify store to Kling unlocks the full power of e-commerce marketing automation. You'll get real-time customer syncing, order tracking, and the ability to trigger flows based on shopping behavior.
What Gets Synced
When you connect Shopify, Kling automatically syncs:
- Customers: Names, emails, addresses, and purchase history
- Orders: Products, values, dates, and fulfillment status
- Products: Your entire catalog with images and variants
- Carts: Abandoned cart data for recovery flows
Syncing happens in real-time via webhooks. When a customer places an order on Shopify, Kling knows within seconds.
Prerequisites
Before connecting, make sure you have:
- A Shopify store on any plan (Basic, Shopify, or Advanced)
- Admin access to create apps
- Your Kling account set up with an organization
Step-by-Step Connection
Access Integration Settings
In Kling, navigate to Settings > Integrations. Click on the Shopify card to begin the connection process.
Create a Custom App in Shopify
Log into your Shopify admin panel and go to Settings > Apps and sales channels > Develop apps. If prompted, enable custom app development.
Click Create an app and name it "Kling Integration."
Configure API Scopes
In your new app, click Configure Admin API scopes and enable these permissions:
Required scopes: read_customers (Access customer data), read_orders (Access order history), read_products (Access product catalog), read_checkouts (Access abandoned carts)
Optional scopes: write_customers (Update customer tags), read_fulfillments (Track shipping status)
Install the App
Click Install app to generate your credentials. You'll receive the Admin API access token, API key, and API secret key. Copy the Admin API access token—you'll only see this once!
Enter Credentials in Kling
Back in Kling, enter your Store URL (yourstore.myshopify.com) and Access Token (the token from step 4). Click Connect and wait for the initial sync to complete.
Keep Credentials Secure
Your access token provides full read access to your store data. Never share it publicly or commit it to version control.
Initial Sync
The first sync imports your existing data:
| Data Type | Typical Time | | --------- | ------------- | | Products | 1-5 minutes | | Customers | 5-15 minutes | | Orders | 10-30 minutes |
You can monitor progress in Settings > Integrations > Shopify > Sync Status.
Setting Up Webhooks
Kling automatically registers webhooks for real-time updates. Verify they're working by checking Settings > Integrations > Shopify > Webhooks.
You should see webhooks for:
orders/createorders/updatedcustomers/createcustomers/updatecheckouts/createcheckouts/update
Using Shopify Data in Campaigns
With Shopify connected, you can:
Segment by Purchase Behavior
- Customers who bought specific products
- Customers with order value > $X
- Customers who haven't purchased in 90 days
Trigger Flows on Shopify Events
- Order placed → Post-purchase flow
- Checkout abandoned → Cart recovery flow
- New customer → Welcome series
Personalize with Product Data
- Show recently viewed products
- Recommend based on purchase history
- Display dynamic cart contents
Troubleshooting
Common issues and fixes:
Sync not starting
- Verify your access token is correct
- Check that API scopes are configured
Missing customers
- Ensure
read_customersscope is enabled - Trigger a manual resync from settings
Webhooks not firing
- Confirm webhooks are registered in Shopify
- Check your Kling instance is publicly accessible
For persistent issues, see our integration sync troubleshooting guide.
Next Steps
With Shopify connected, you're ready to:
- Create an abandoned cart flow to recover lost sales
- Set up your email provider for sending
- Connect additional platforms like WooCommerce
Your customer data is now flowing into Kling. Time to put it to work!