# How to Connect eBay

## Overview

Automation Studio supports eBay integration for managing orders and listings via the eBay API.

## Step 1: Get eBay API Credentials

1. Go to [eBay Developers Program](https://developer.ebay.com/)
2. Create a developer account
3. Create a new application
4. Get your:
   - App ID (Client ID)
   - Dev ID
   - Cert ID (Client Secret)
5. Complete OAuth flow to get:
   - Access Token
   - Refresh Token

## Step 2: Add Integration in Automation Studio

1. Open Automation Studio
2. Click the **🔗 Registry** button (top-right)
3. Click **+ Add Integration**
4. Select **eBay** as the provider
5. Enter a name (e.g., "eBay Store")
6. Enter your eBay API credentials
7. Click **Save**
8. Click **Test** to verify the connection

## Step 3: Use in Flows

1. In Flow Builder, add a **Vendor** node
2. Select **eBay** as the vendor provider
3. Choose operation:
   - **getOrders**: Retrieve orders
   - **updateOrderStatus**: Update order status
   - **listItem**: List a new item

## Security

- OAuth tokens stored securely
- Rotate tokens periodically

