Skip to content

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#

  1. Log into your Shopify Admin

  2. 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

  3. Navigate to SettingsApps and sales channels

  4. Create a Private App

  5. Click on Develop apps (or Manage private apps for older stores)

  6. Click 'Allow custom app development' if not already selected

Allow custom app development

  • 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
  • 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:

  1. Copy the Access Token

  2. In your app's overview page, you'll see an Admin API access token

  3. Click Reveal token once to see it
  4. Copy this token immediately - you won't be able to see it again. It should start with shpat

  5. Note Your Store Name

  6. Your store name is the subdomain of your Shopify store

  7. For example, if your store URL is mystore.myshopify.com, your store name is mystore

Store name configuration

  1. Get Your Location ID

  2. Go to SettingsLocations

  3. 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.
  4. Select a location
  5. Note the Location ID for your primary location. This is located at the end of the URL in your URL bar
  6. The Location ID is a numeric value (e.g., 123456789)

Store location settings

Agent Deployment Configuration#

Once you have your credentials, configure the corresponding variables for your Eden agent deployment.

Agent deployment configuration

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 for mystore.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 app
  • SHOPIFY_LOCATION_ID: The numeric ID of your primary location for inventory management
  • DEBUG: Enable debug logging for troubleshooting (optional)

Setting Up in Eden#

Step 1: Configure Your Agent#

  1. Access Agent Settings
  2. Go to your agent's configuration page
  3. Navigate to the Integrations tab
  4. Find Shopify in the available integrations

Step 2: Add API Credentials#

  1. Enter Store Information
  2. Paste your Shopify store name
  3. Enter your API access token
  4. Add your location ID
  5. Save the configuration

Step 3: Test the Integration#

  1. Verify Connection
  2. Test the connection to ensure credentials are correct
  3. 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:

Example product creation

Troubleshooting#

Common Issues#

  1. Permission Denied: Ensure your app has the correct API scopes enabled
  2. Invalid Token: Verify your access token is correct and hasn't expired
  3. Store Not Found: Check your store name is correct (just the subdomain, not the full URL)
  4. 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!