What It Does
Your application integrates with external services: Stripe for payments, Auth0 for authentication, SendGrid for emails, Twilio for SMS. These aren’t infrastructure you run - they’re third-party APIs your code depends on. Monk can orchestrate any resource with a lifecycle and an API. This means Monk doesn’t just detect that you’re using Stripe - it provisions Stripe resources (products, webhooks, API keys), injects credentials into your application, and updates webhook URLs when your deployment changes. Monk keeps a complete map of your system, including abstract resources managed by third-party providers. You provide credentials once and authorize Monk to work with these APIs. Monk handles the rest throughout your application’s lifecycle.How It Works
API Orchestration & Lifecycle Management
Monk treats third-party APIs as first-class resources it can orchestrate, just like it manages containers and cloud infrastructure. What Monk can do with APIs:- Provision resources - Create Auth0 applications, Stripe products, webhooks, API keys
- Obtain secrets - Retrieve API keys, client secrets, tokens automatically
- Inject credentials - Add them to your application’s configuration securely
- Update endpoints - Change webhook URLs, callback URLs as deployments move
- Manage lifecycle - Update, reconfigure, or remove API resources as needed
- Track relationships - Understands which services depend on which APIs
- During code analysis, Monk detects Auth0 SDK usage
- You provide Auth0 management API credentials
- Monk provisions an Auth0 application for your deployment
- Monk obtains client ID and client secret
- Monk configures callback URLs based on your deployment (e.g.,
https://yourapp.com/auth/callback) - Monk injects credentials into your application via Configuration & Wiring
- When you redeploy or move clouds, Monk updates the callback URL automatically
- Monk detects Stripe SDK usage in your code
- You provide Stripe API credentials
- Monk creates webhook endpoints in Stripe pointing to your API
- Monk configures webhook signing secrets
- Monk injects Stripe publishable and secret keys into frontend/backend
- When you scale or redeploy, Monk updates webhook URLs to match new infrastructure
Automatic API Detection
During code analysis, Monk identifies third-party API integrations: What Monk discovers:- API SDKs and client libraries (Stripe, Auth0, SendGrid, Twilio, etc.)
- API key references in environment variables
- Webhook handlers and callback endpoints in your code
- OAuth flows and redirect URLs
- API-specific configuration needs
Unified System Map
Traditional approaches require managing third-party services through separate dashboards:- Stripe dashboard for payment configuration
- Auth0 dashboard for authentication setup
- AWS console for cloud resources
- Cloud provider dashboards for databases
- DNS provider for domain management
- Your containers and code (what you built)
- Cloud infrastructure (where it runs)
- Databases and Essential Services (supporting infrastructure)
- Third-party API resources (external dependencies)
- Relationships between all components
Dynamic Configuration Updates
When your deployment location or structure changes, API configurations need to update: Monk handles automatically:- Webhook URLs - Updated when API server IP/domain changes
- OAuth callback URLs - Updated when frontend domain changes
- CORS origins - Updated to match current frontend URLs
- API endpoint references - Updated when service URLs change
- Webhook signing secrets - Rotated and redistributed securely
Authorization & Credentials
To enable API orchestration, you authorize Monk to work with third-party services: What you provide:- API credentials for each service (API keys, OAuth tokens, management API access)
- Authorization to manage resources on your behalf
- Provisions and configures API resources
- Obtains necessary secrets automatically
- Stores credentials securely (see Security)
- Updates configurations throughout lifecycle
Your credentials stay secure - They’re stored on your side, never exposed
to the LLM, and never sent to Monk servers. See Security
for details. Monk needs these because it manages your accounts with
third-party providers on your behalf (Bring Your Own Infrastructure - BYOI).
Supported API Integrations
Monk supports several third-party API providers via integrations: Identity & Authentication:- Auth0
- AWS Cognito
- AWS IAM
- Stripe (payment processing, subscriptions, webhooks)
Practical Example
Authentication with Auth0
Your application: SaaS app with Auth0 login What Monk orchestrates:- Detects Auth0 SDK usage
- Asks for Auth0 management API credentials
- Creates Auth0 application for your deployment
- Configures allowed callback URLs (
https://yourapp.com/auth/callback) - Configures allowed logout URLs
- Obtains client ID and secret
- Injects into application config
- When frontend domain changes (e.g., staging to production), updates callback URLs automatically
What Makes This Different
Traditional third-party API integration requires:- Manually creating applications/resources in provider dashboards
- Copying API keys and secrets into environment variables
- Configuring webhook URLs and callback URLs manually
- Updating configurations when deployments change
- Managing secrets across environments
- Remembering which dashboard has which setting
- Coordinating configuration across multiple services
Key Capabilities
- Lifecycle orchestration - Provision, configure, update, and manage API resources
- Automatic detection - Identifies API dependencies from code
- Dynamic configuration - Updates webhook URLs, callbacks as deployments change
- Secret management - Obtains and injects API keys securely
- Unified system map - Complete view of all resources, including third-party APIs
- Multi-API support - Stripe + Auth0 + SendGrid + more in one deployment
- Credential injection - API keys available to services that need them
- BYOI model - Works with your accounts on third-party platforms
- Secure storage - API credentials stored securely on your infrastructure
Coming Soon
Several API orchestration features are actively in development: Expanded API Support COMING SOON- SendGrid (email sending)
- Twilio (SMS/voice)
- Mailgun (email)
- More authentication providers (Okta, Firebase Auth)
- Additional payment providers
- Automatic API resource cleanup on teardown
- Multi-environment API resource management
- API usage monitoring and alerts
Related Features
- Code Analysis - How Monk detects API dependencies
- Configuration & Wiring - Credential injection and management
- Security - How API credentials are protected
- Essential Services - Infrastructure services Monk manages
- Databases - Database provisioning and management
- Integrations - Full list of supported APIs and providers