Getting Started
This guide will help you get Webhooked up and running in minutes. We'll cover installation, basic configuration, and your first webhook.
Prerequisites
Quick Start (5 minutes)
Option 1: Docker (Recommended)
# Create a configuration file
cat > webhooked.yaml << 'EOF'
apiVersion: v1alpha2
kind: Configuration
metadata:
name: my-webhooks
specs:
- webhooks:
- name: hello-webhook
entrypointUrl: /webhook/hello
security:
type: noop # No auth for testing
response:
statusCode: 200
formatting:
templateString: '{"message": "Hello from Webhooked!", "received": {{ .Payload }}}'
EOF
# Run Webhooked
docker run -d \
-p 8080:8080 \
-v $(pwd)/webhooked.yaml:/config/webhooked.yaml \
atomys/webhooked:latest \
--config /config/webhooked.yaml
# Test your webhook
curl -X POST http://localhost:8080/webhooks/v1alpha2/webhook/hello \
-H "Content-Type: application/json" \
-d '{"test": "data"}'Option 2: Binary Installation
Option 3: Install from Source
Your First Real Webhook
1. Create Configuration
2. Start Services with Docker Compose
3. Test the Webhook
Essential Configuration Concepts
Webhook URL Structure
Security Providers
Storage Backends
Environment Variables
Health Checks
Monitoring
Common Patterns
1. Multi-Environment Configuration
2. Data Transformation
Last updated