Step-by-step instructions for generating the credentials needed to connect your store to ProfitLeaksAI.
You need to create a Custom app in your Shopify store with read access to orders and products. The access token is only shown once — copy it immediately.
Log in to your Shopify Admin
Go to your store at yourstore.myshopify.com/admin
Navigate to Settings → Apps and sales channels
Click the gear icon (Settings) in the bottom-left, then select "Apps and sales channels"
Click "Develop apps"
Then click "Allow custom app development" if prompted, then "Create an app"
Name your app and configure Admin API scopes
Give it a name (e.g., "ProfitLeaksAI"). Under "Configuration", click "Configure Admin API scopes" and enable:
Click "Save" then "Install app"
Confirm the installation in the popup
Copy the Admin API access token
Click "Reveal token once". Copy the shpat_... token immediately — it won't be shown again.
Paste into ProfitLeaksAI
In the Shopify connection modal, enter your yourstore.myshopify.com URL and paste the token.
WooCommerce uses a REST API key pair (Consumer Key + Consumer Secret). You'll create a key with Read-only access — no write permissions needed.
Log in to your WordPress Admin
Go to yourstore.com/wp-admin
Go to WooCommerce → Settings
Click the "Advanced" tab, then "REST API"
Click "Add key"
Fill in the key details
Click "Generate API key"
Copy both the Consumer key (ck_...) and Consumer secret (cs_...). They are only shown once.
Paste into ProfitLeaksAI
In the WooCommerce modal, enter your store URL (e.g., https://yourstore.com), Consumer Key, and Consumer Secret.
Klaviyo uses a Private API Key for server-to-server integrations. Create a key with minimal scopes — ProfitLeaksAI only needs read access to events and metrics.
Log in to Klaviyo
Go to klaviyo.com and sign in to your account
Go to Account → Settings
Click your profile icon in the top-right, then "Account"
Click the "API Keys" tab
Click "Create Private API Key"
Give it a name like "ProfitLeaksAI". For scopes, select "Read-only" or at minimum enable Metrics (Read) and Events (Read).
Copy the API key
The key starts with pk_.... Copy it immediately.
Paste into ProfitLeaksAI
In the Klaviyo connection modal, paste the Private API Key.