Test Your Integration
Step 4 - Test Your Integration
In this final step, you will verify that your custom integration is working correctly by testing the connection with your endpoints.
Running the Test
Procedure
- In the Talk2sync connection interface, navigate to the "Test Connection" or "Scan Products" section
- Click the "Scan Products" button to initiate the test
- Talk2sync will attempt to:
- Connect to your store URL
- Authenticate using your security key
- Retrieve products from your
/api/productsendpoint
- Wait for the test to complete (this may take a few moments)
Understanding Test Results
Success Scenario ✓
If the test is successful, you should see:
- Status: ✓ Connection Successful
- Products Retrieved: A count of products from your catalog
- Message: Your store is now connected with Talk2sync
This means:
- ✓ Your store URL is accessible
- ✓ Your endpoints are responding correctly
- ✓ Your security key is validated
- ✓ Your products are being retrieved in the expected JSON format
Troubleshooting Failed Tests ✗
If the test fails, Talk2sync will display an error message. Here are common issues and how to resolve them:
| Error | Cause | Solution |
|---|---|---|
| Connection Timeout | Store URL is not reachable | Verify your store URL is correct and your server is running |
| 401 Unauthorized | Invalid or missing security key | Check that your endpoints are validating the key correctly |
| Invalid JSON Format | Response is not valid JSON | Ensure your endpoints return proper JSON responses |
| No Products Found | Products endpoint not working | Test your /api/products endpoint manually |
| Certificate Error | HTTPS certificate issue | Ensure your SSL certificate is valid (for production) |
Manual Testing (Optional)
If you want to test your endpoints manually before using the Talk2sync UI:
Test Products Endpoint:
curl -H "Authorization: Bearer YOUR_GENERATED_KEY" \
https://www.example.com/api/products
Test Orders Endpoint:
curl -H "Authorization: Bearer YOUR_GENERATED_KEY" \
https://www.example.com/api/orders
Both endpoints should respond with valid JSON data.
What Happens After Success
Once your integration passes all tests:
- Connection is Active: Talk2sync will begin syncing data with your endpoints
- Automatic Synchronization: Your products and orders will be synchronized according to the schedule configured in Talk2sync
- Continuous Monitoring: Talk2sync will monitor your endpoints for changes and updates
- Error Alerts: If synchronization fails, you will receive notifications about the issues
Next Steps
Your custom integration with Talk2sync is now complete! You can:
- Access your data in the Talk2sync platform
- Configure automatic syncs to keep data updated
- Set up alerts for sync failures
- Monitor your integration through the dashboard
- Connect additional stores using the same process
For more advanced features and detailed API documentation, refer to:
Congratulations! 🎉
Your store is now successfully integrated with Talk2sync. You can begin leveraging the platform's full capabilities to manage your products and orders across multiple sales channels.
Need Help?
If you encounter any issues:
- Check the FAQ section
- Review the error messages carefully
- Contact Talk2sync support
Related Steps
- Previous: Generate Keys
- All Quick Start Guides: Quick Start Overview