Shopify Integration Setup#
What is Shopify Integration?
Eden's Shopify integration allows you to programmatically create and manage products in your Shopify store. This enables automated product creation, inventory management, and store operations through Eden's AI-powered tools.
Prerequisites#
Before setting up Shopify integration, you'll need:
- A Shopify store (either a paid plan or Shopify Plus)
- Admin access to your Shopify store
- Basic understanding of Shopify's admin interface
Getting Your Shopify Credentials#
Step 1: Create a Private App#
-
Log into your Shopify Admin
-
Go to your Shopify store's admin panel. If you need to create a new shopify go to https://accounts.shopify.com/ and sign up as appropriate, then create a store
-
Navigate to Settings → Apps and sales channels
-
Create a Private App
-
Click on Develop apps (or Manage private apps for older stores)
- Click 'Allow custom app development' if not already selected
- Click Create an app
- Give your app a name (e.g., "Eden Integration")
- Select your email address as the developer email
-
Click Create app
-
Configure App Permissions
-
Click on Configure Admin API scopes
- Enable the following permissions:
- Products:
read_products
,write_products
- Inventory:
read_inventory
,write_inventory
- Locations:
read_locations
,write_locations
- Publications:
read_publications
,write_publications
- Products:
-
Click Save
-
Install the App
- Click Install app to install it on your store. You may need to close the settings and reopen them for the button to enable.
- Confirm the installation
Step 2: Get Your Access Token#
After installing the app:
-
Copy the Access Token
-
In your app's overview page, you'll see an Admin API access token
- Click Reveal token once to see it
-
Copy this token immediately - you won't be able to see it again. It should start with
shpat
-
Note Your Store Name
-
Your store name is the subdomain of your Shopify store
- For example, if your store URL is
mystore.myshopify.com
, your store name ismystore
-
Get Your Location ID
-
Go to Settings → Locations
- You'll see a list of your store's locations (warehouses, retail stores, etc.). For new stores this may just be 'Shop location' and then a country.
- Select a location
- Note the Location ID for your primary location. This is located at the end of the URL in your URL bar
- The Location ID is a numeric value (e.g.,
123456789
)
Agent Deployment Configuration#
Once you have your credentials, configure the corresponding variables for your Eden agent deployment.
Usage#
Once you have deployed your Shopify configuration, prompt your Agent to create a Shopify product!
Variable Descriptions#
SHOPIFY_STORE_NAME
: Your store's subdomain (e.g.,mystore
formystore.myshopify.com
)SHOPIFY_API_VERSION
: The Shopify API version to use (recommended:2025-07
)SHOPIFY_ACCESS_TOKEN
: The admin API access token from your private appSHOPIFY_LOCATION_ID
: The numeric ID of your primary location for inventory managementDEBUG
: Enable debug logging for troubleshooting (optional)
Setting Up in Eden#
Step 1: Configure Your Agent#
- Access Agent Settings
- Go to your agent's configuration page
- Navigate to the Integrations tab
- Find Shopify in the available integrations
Step 2: Add API Credentials#
- Enter Store Information
- Paste your Shopify store name
- Enter your API access token
- Add your location ID
- Save the configuration
Step 3: Test the Integration#
- Verify Connection
- Test the connection to ensure credentials are correct
- Check that your agent can access your store
Common Use Cases#
Automated Product Creation#
// Example: Create a new product through your agent
const productRequest = {
title: "AI-Generated Art Print",
description: "Unique artwork created with Eden AI",
price: "29.99",
inventory_quantity: 100,
vendor: "Eden Art Lab",
};
Inventory Management#
- Automatically update product quantities
- Create products from AI-generated designs
- Manage product variants and options
Store Operations#
- Automated product publishing
- Bulk product creation
- Dynamic pricing updates
Example Output#
Here's what a successfully created product looks like:
Troubleshooting#
Common Issues#
- Permission Denied: Ensure your app has the correct API scopes enabled
- Invalid Token: Verify your access token is correct and hasn't expired
- Store Not Found: Check your store name is correct (just the subdomain, not the full URL)
- Location ID Issues: Ensure you're using the correct location ID from your store settings
Getting Help#
If you encounter issues:
- Verify all credentials are correct
- Check the debug logs if enabled
- Ensure your Shopify store meets the minimum requirements
- Contact support through our Discord if problems persist
Ready to automate your Shopify store? Visit the Shopify Integration tool to get started!