3 Minutes
From code to live API endpoint
Auto-scaling
Handles 1 to 10,000+ requests instantly
Production Ready
HTTPS, monitoring, and global deployment
Real Business Impact: This isn’t a “hello world” demo. You’ll experience the full power of Ollie Hub’s integration system - enhancing external APIs with custom business logic and data processing. This is the kind of Hub integration that powers production applications.
What You’ll Build
Experience Ollie Hub’s custom integration power. When someone calls JSONPlaceholder through Hub, your function automatically enhances and transforms the response. Original JSONPlaceholder API:Deploy Your Function
1
Access Ollie Hub
Navigate to admin.ollie.app and sign in with:Google
Email
GitHub
One-click OAuth for developers
Enterprise SSO ready
Secure magic link authentication
2
Create Your Workspace
Quick Organization:
- Name:
Your Company
Pro Tip: Choose a descriptive name - you’ll invite team members here later.
3
Create Request Function
Function Configuration
Function Configuration
Function Settings:
- Name:
jsonplaceholder-transformer
- Type:
Request Function
- Trigger Pattern:
https://jsonplaceholder.typicode.com/posts/*
- Memory:
256 MB
- Timeout:
30 seconds
- Runtime:
Node.js 18.x
Hub Integration: Your function will automatically enhance any calls to JSONPlaceholder posts and transform the response. When someone calls
https://hub.ollie.app/https://jsonplaceholder.typicode.com/posts/1
, your Hub integration processes it.4
Deploy & Build
Deployment Process
Deployment Process
Click “Deploy Function” to trigger the build process:
- Code Upload: Your function code is securely uploaded
- Build Process: Dependencies installed and optimized
- Deployment: Function deployed to global infrastructure
- Ready for Activation: Function is built and ready to activate
Build Time: First deployment takes 30-60 seconds. Subsequent deploys are faster with caching.
5
Activate Function
Make your function live and ready for requestsAfter successful deployment, your function will show as INACTIVE. Click “Activate Function” to make it live.
Activation Required: Functions are deployed but inactive by default. You must activate them to start receiving traffic.
6
Test Hub Integration
After activating your function, your Hub integration is now enhancing JSONPlaceholder calls! When you call the original API through Hub, your transformation runs automatically:Transformed Response:
Hub Integration Magic: Notice you’re calling the exact same JSONPlaceholder URL, but through
hub.ollie.app
. Your integration automatically enhances and transforms the response without the caller knowing!Understanding Hub Integrations
How Hub Integrations Work
How Hub Integrations Work
The Hub-Enhanced Call:What happens behind the scenes:
https://hub.ollie.app/
URL enables powerful API customization and transformation through Hub:Original API Call:- Pattern Matching: Hub checks if the URL matches your integration’s trigger pattern
- Custom Processing: Your Hub function receives the original request and fetches the real data
- Transformation: Your function processes and enriches the response
- Seamless Response: Caller receives enhanced data, thinking it came from the original API
- API Enhancement: Add analytics, caching, or rate limiting to any API
- Data Transformation: Convert between API formats or add computed fields
- Legacy Modernization: Add modern features to old APIs without changing them
- Multi-source Aggregation: Combine data from multiple APIs into one response
- Zero Infrastructure: No servers to manage or scale
- Seamless Integration: Callers don’t know transformation is happening
- Global Performance: Automatic edge caching and routing
- Built-in Monitoring: Request logs, error tracking, performance metrics
- Security: HTTPS by default, input validation, DDoS protection
Function Types & Triggers
Request Functions
Perfect for: APIs, webhooks, real-time processingTrigger: HTTP requests via Hub proxyExamples: User authentication, payment processing, data validationResponse: Immediate HTTP response to caller
Response Functions
Perfect for: Post-processing, notifications, cleanup tasksTrigger: Automatically after Request Functions completeExamples: Send confirmation emails, update analytics, cache invalidationResponse: Runs asynchronously, no direct response to original caller
Task Functions
Perfect for: Scheduled jobs, maintenance, reportsTrigger: Cron expressions (e.g., daily at 9 AM)Examples: Daily reports, data cleanup, inventory syncResponse: Runs on schedule, logs available in dashboard
Production Features
Your function is immediately production-ready with:Auto-scaling
Handles 1 to 10,000+ concurrent requests automatically
Global Deployment
Available worldwide through edge locations
Real-time Monitoring
Live request logs, error tracking, and performance metrics
Built-in Security
HTTPS by default, input validation, and DDoS protection
Next Steps
Add Response Functions
Trigger actions after Hub integrations
Schedule Tasks
Automate periodic API data processing
Team Collaboration
Invite developers and set permissions
Production Deployment
Deploy to staging and production environments
Congratulations! You’ve deployed a production-ready API that can handle thousands of requests. Your function is automatically scaling, monitored, and ready to power real applications. View detailed logs and metrics in your Ollie Hub dashboard.