Integrations
Configure API keys, webhooks, and external system integrations to connect Better Data SCM with your other systems.Scope: Tenant-scoped; requires org admin permissions
Availability: Not available in SuperAdmin
Availability: Not available in SuperAdmin
Understanding Integrations
Integration Types
Integrations connect Better Data SCM with external systems:- API Keys: Authenticate API requests
- Webhooks: Receive real-time notifications
- External Systems: Connect to ERP, WMS, eCommerce, etc.
- Data Sync: Synchronize data with external systems
Integration Scope
All integrations are:- Tenant-Scoped: Limited to your organization
- Secure: Encrypted and authenticated
- Configurable: You control all settings
- Auditable: All integration activity is logged
API Keys
Understanding API Keys
API keys authenticate API requests from external systems. Customization Tier: TENANT_DEFINED (you create all API keys)Creating API Keys
- Navigate to Admin → Integrations → API Keys
- Click Create API Key
- Configure:
- Name: API key name/description
- Permissions: Select API permissions
- Expiration: Set expiration date (optional)
- IP Restrictions: Restrict to specific IPs (optional)
- Click Generate Key
- Copy and save the key (it won’t be shown again)
Managing API Keys
- View all API keys:
- Active Keys: Currently active keys
- Expired Keys: Expired keys
- Revoked Keys: Revoked keys
- Actions:
- Revoke: Revoke an API key
- Regenerate: Generate a new key
- View Details: View key details and usage
API Key Permissions
Configure what each API key can do:- Read: Read data (GET requests)
- Write: Create/update data (POST, PUT, PATCH requests)
- Delete: Delete data (DELETE requests)
- Admin: Administrative operations
API Key Best Practices
- Use Separate Keys: Create separate keys for different systems
- Limit Permissions: Grant minimum permissions needed
- Set Expiration: Set expiration dates for keys
- Rotate Regularly: Rotate keys periodically
- Monitor Usage: Monitor API key usage
- Revoke Unused: Revoke unused keys
Webhooks
Understanding Webhooks
Webhooks send real-time notifications to your systems when events occur. Customization Tier: TENANT_DEFINED (you configure all webhooks)Creating Webhooks
- Navigate to Admin → Integrations → Webhooks
- Click Create Webhook
- Configure:
- Name: Webhook name/description
- URL: Webhook endpoint URL
- Events: Select events to subscribe to
- Secret: Webhook secret for verification
- Active: Enable/disable webhook
- Save webhook
Webhook Events
Subscribe to events:- Inventory: Inventory changes (receipts, adjustments, etc.)
- Shipments: Shipment events (created, shipped, received, etc.)
- Stock Requests: Stock request events
- Forecasts: Forecast events (created, updated, etc.)
- Alerts: Alert events (stockout, low ATP, etc.)
Webhook Security
Configure webhook security:- Secret: Webhook secret for signature verification
- HTTPS Only: Require HTTPS endpoints
- IP Whitelist: Restrict to specific IPs (optional)
- Retry Policy: Configure retry behavior
Webhook Payload
Webhook payloads include:- Event Type: Type of event
- Timestamp: Event timestamp
- Data: Event data
- Signature: Signature for verification
Testing Webhooks
- Click Test Webhook on webhook
- Select test event
- Send test payload
- Verify webhook receives payload
- Check webhook logs
External Systems
Understanding External Systems
Connect Better Data SCM to external systems:- ERP: Enterprise Resource Planning systems
- WMS: Warehouse Management Systems
- eCommerce: eCommerce platforms
- Marketplaces: Marketplace platforms (Amazon, eBay, etc.)
- Shipping Carriers: Shipping carrier systems
- Suppliers: Supplier systems
Creating External System Connections
- Navigate to Admin → Integrations → External Systems
- Click Create Connection
- Configure:
- Name: Connection name
- Type: System type (ERP, WMS, eCommerce, etc.)
- Endpoint: System endpoint URL
- Authentication: Authentication method (API Key, OAuth, etc.)
- Credentials: System credentials
- Sync Settings: Data sync settings
- Save connection
External System Types
ERP: Enterprise Resource Planning- SAP, Oracle, NetSuite, etc.
- Sync: Products, inventory, orders
- Manhattan, HighJump, etc.
- Sync: Inventory, shipments, locations
- Shopify, WooCommerce, Magento, etc.
- Sync: Products, inventory, orders
- Amazon, eBay, Walmart, etc.
- Sync: Products, inventory, orders
- FedEx, UPS, DHL, etc.
- Sync: Shipments, tracking
- Supplier portals, EDI, etc.
- Sync: Purchase orders, shipments
Data Sync Configuration
Configure data synchronization:- Sync Direction: One-way or two-way
- Sync Frequency: Real-time, scheduled, manual
- Sync Scope: What data to sync
- Mapping: Field mappings
- Transformations: Data transformations
Integration Mappings
Understanding Integration Mappings
Map data between Better Data SCM and external systems. Customization Tier: TENANT_DEFINED (you define all mappings)Creating Mappings
- Navigate to Admin → Integrations → Mappings
- Click Create Mapping
- Configure:
- Source System: Better Data SCM
- Target System: External system
- Entity Type: Product, Inventory, Order, etc.
- Field Mappings: Map fields between systems
- Transformations: Data transformations
- Save mapping
Mapping Types
Product Mapping: Map products- Product codes
- Product attributes
- Product categories
- Inventory levels
- Location mappings
- Channel mappings
- Order numbers
- Order status
- Order items
Integration Monitoring
Viewing Integration Activity
- Navigate to Admin → Integrations → Activity
- View integration activity:
- API Calls: API request/response logs
- Webhook Deliveries: Webhook delivery status
- Sync Jobs: Data sync job status
- Errors: Integration errors
Integration Health
Monitor integration health:- Status: Active, Inactive, Error
- Last Sync: Last successful sync
- Error Rate: Error rate percentage
- Latency: Response time
Troubleshooting Integrations
- Review integration logs
- Check error messages
- Verify credentials
- Test connection
- Review sync status
What Success Looks Like
Integration Success
- ✅ API keys properly configured
- ✅ Webhooks delivering notifications
- ✅ External systems connected
- ✅ Data syncing correctly
- ✅ Integration errors resolved
Security Success
- ✅ API keys secured
- ✅ Webhooks authenticated
- ✅ External connections encrypted
- ✅ Access controlled
- ✅ Activity monitored
Common Pitfalls
1. Not Securing API Keys
Problem: API keys exposed or shared insecurely. Solution: Secure API keys:- Store keys securely
- Don’t share keys
- Rotate keys regularly
- Use separate keys per system
2. Not Testing Webhooks
Problem: Webhooks configured but not tested. Solution: Test webhooks:- Send test payloads
- Verify webhook receives payloads
- Check webhook logs
- Monitor webhook delivery
3. Not Monitoring Integrations
Problem: Integrations configured but not monitored. Solution: Monitor integrations:- Review integration activity
- Check error rates
- Monitor sync status
- Review logs regularly
4. Not Mapping Data Correctly
Problem: Data mappings incorrect, causing sync errors. Solution: Map data correctly:- Review field mappings
- Test mappings
- Verify transformations
- Document mappings
Troubleshooting
API Key Not Working
Symptoms: API requests failing with authentication errors. Possible causes:- API key incorrect
- API key expired
- API key revoked
- Permissions insufficient
- IP restrictions
- Verify API key is correct
- Check API key expiration
- Verify API key is active
- Check API key permissions
- Review IP restrictions
Webhook Not Delivering
Symptoms: Webhooks configured but not receiving events. Possible causes:- Webhook not active
- Webhook URL incorrect
- Webhook endpoint down
- Events not subscribed
- Security verification failing
- Verify webhook is active
- Check webhook URL
- Test webhook endpoint
- Verify event subscriptions
- Check security settings
External System Not Syncing
Symptoms: External system connected but not syncing data. Possible causes:- Connection not active
- Credentials incorrect
- Sync not configured
- Mapping incorrect
- System error
- Verify connection is active
- Check credentials
- Review sync configuration
- Verify mappings
- Check system logs