Integrations
BadgerFy.ai integrates with popular e-commerce platforms to automatically import product catalogs and order data. Once connected, you can import data directly from your store without manual file exports.
Currently, we support Shopify, BigCommerce, and WooCommerce. Each integration allows you to import both product/promo data and order data for use with your agents.
Setting Up Integrations
Integrations are configured at the organization level. Navigate to Organization Settings → Integrations in your dashboard to add a new integration. Each platform has different authentication requirements outlined below.
Shopify
Connect your Shopify store to import products, variants, and order history. The integration uses Shopify's Admin API with secure access token authentication.
Requirements
- Store Domain: Your Shopify store URL (e.g.,
your-store.myshopify.com) - Admin API Access Token: Generated from a custom app in your Shopify admin
Setup Steps
- Log in to your Shopify Admin
- Go to Settings → Apps and sales channels → Develop apps
- Click Create an app and give it a name (e.g., "BadgerFy Integration")
- In your new app, go to Configuration and click Configure Admin API scopes
- Enable the following scopes:
read_products— For product/promo data importsread_orders— For order data importsread_price_rules— For discount/promotion information (optional)
- Click Save, then go to API credentials
- Click Install app to generate your access token
- Copy the Admin API access token (you'll only see it once)
- In BadgerFy.ai, add a new Shopify integration with your store domain and access token
Your Admin API access token provides access to your store data. Never share it publicly or commit it to version control. BadgerFy.ai encrypts and securely stores your token.
Data Imported
- Products: Title, handle (URL), variants, prices, images, categories (product type). Imported data is converted to the product-promo schema: one record per product with a
variantsarray (see Product & Promotions Data). - Orders: Order ID, date, customer info (anonymized), line items, totals
- Promotions: Active price rules and discount codes (when available)
BigCommerce
Connect your BigCommerce store to import products and order history. The integration uses BigCommerce's REST API with API account authentication.
Requirements
- Store Hash: Your BigCommerce store identifier (found in your store URL)
- API Access Token: Generated from an API account in your BigCommerce admin
Setup Steps
- Log in to your BigCommerce Admin
- Go to Settings → API → API Accounts
- Click Create API Account → Create V2/V3 API Token
- Give the account a name (e.g., "BadgerFy Integration")
- Set the following OAuth scopes:
Products— Read-only (for product/promo data)Orders— Read-only (for order data)
- Click Save to generate credentials
- Copy the Access Token and note your Store Hash from the API Path
- In BadgerFy.ai, add a new BigCommerce integration with your store hash and access token
Data Imported
- Products: Name, custom URL, variants, prices, sale prices, images, categories. Converted to the product-promo schema (one product per record with a
variantsarray). - Orders: Order ID, date, line items with product details, totals
WooCommerce
Connect your WooCommerce store to import products and order history. The integration uses the WooCommerce REST API with consumer key/secret authentication.
Requirements
- Store URL: Your WordPress site URL where WooCommerce is installed
- Consumer Key: Generated from WooCommerce API settings
- Consumer Secret: Generated alongside the consumer key
Setup Steps
- Log in to your WordPress admin
- Go to WooCommerce → Settings → Advanced → REST API
- Click Add key
- Enter a description (e.g., "BadgerFy Integration")
- Set the user to an admin account
- Set permissions to Read
- Click Generate API key
- Copy both the Consumer key and Consumer secret
- In BadgerFy.ai, add a new WooCommerce integration with your store URL and API credentials
If your WooCommerce site is self-hosted, ensure that external API traffic is not blocked by your hosting provider, firewall, or security plugins. Common issues include:
- Firewall rules: Allow incoming requests from BadgerFy.ai servers
- Security plugins: Whitelist API endpoints in plugins like Wordfence or Sucuri
- REST API disabled: Some themes or plugins disable the WooCommerce REST API
- SSL/HTTPS: Ensure your site uses HTTPS for secure API communication
Data Imported
- Products: Name, slug (URL), variations, prices, sale prices, images, categories. Converted to the product-promo schema (one product per record with a
variantsarray). - Orders: Order ID, date, line items with product details, totals
Using Integrations
Once an integration is connected, you can use it in two ways:
Import Data Tab
In any product-promo or order-data data source, the Import Data tab lets you pull fresh data from your connected integration. Select the integration, start the import, preview the results, and confirm to add the data to your source.
Update Existing Files
For files already in your data source, use the Update With Integration button to sync fresh data while keeping the same file reference name. This is useful for keeping your product catalog or order history up to date.
Best Practices
- Regular Syncs: For product-promo data, sync regularly to keep promotions and pricing current. Stale data can lead to displaying incorrect offers.
- Review Before Confirming: Always preview imported data before confirming the upload. Check that product URLs, prices, and categories look correct.
- Use Consumer API for Automation: Pro and Business users can automate data updates using the Consumer API instead of manual imports.
- Limit API Scopes: Only grant the minimum required permissions when creating API credentials for your integrations.