Test the connection
The first step is to confirm that you can connect to all the necessary services.
The connection test checks several important components:
- Verifies your API credentials
- Ensures the main Signals API service is accessible
- Checks the status of:
- Database connections
- Cache service
- Storage systems
Test your connection using the following command:
snowplow-batch-engine test-connection --verbose
If you didn't set up environment variables, you can also provide the credentials as command-line flags:
snowplow-batch-engine test-connection \
--api-url "YOUR_API_URL" \
--api-key "YOUR_API_KEY" \
--api-key-id "YOUR_API_KEY_ID" \
--org-id "YOUR_ORG_ID" \
--verbose
When everything is working correctly, you'll see a clear success message:
🔐 Testing authentication service...
✅ Authentication service is healthy
🌐 Testing API service...
✅ API service is healthy
📊 Dependencies status:
✅ database: ok
✅ cache: ok
✅ storage: ok
✨ All services are operational!
You can continue to the next step.
Troubleshooting
If you encounter any problems:
- Double-check your API credentials
- Verify your network connection
- Ensure your API key has the required permissions
- Use the
--verbose
flag for detailed error messages - Check if your organization's services are up and running