What you’ll learn:
- Dynamic provider deployment creation via API
- BYO OAuth app configuration
- Enterprise compliance patterns
Why BYO?
Using your own credentials gives you full control over how your users authenticate and how your infrastructure handles sensitive data. Enterprise teams choose BYO for three main reasons:Compliance & Security:
- Keep credentials in your own infrastructure
- Meet data residency requirements
- Audit and rotate credentials on your schedule
Branding & Control:
- OAuth consent screens show your company name
- Use your company’s existing OAuth apps
- Control which permissions are requested
Multi-tenancy:
- Create isolated provider deployments per customer
- Different credentials for different organizations
- Scale deployment creation programmatically
Dynamic Provider Deployments
Create provider deployments programmatically via the Metorial API instead of using the dashboard. The flow:- Create a Provider Deployment via the API
- Create a Provider Auth Config with your credentials, linked to the deployment
- Use the provider deployment ID in sessions like any other integration
Creating a Provider Deployment
Creating a Provider Auth Config
BYO OAuth Apps
Use your own OAuth app credentials instead of Metorial’s default OAuth apps. Setup process:Register OAuth App
Register your OAuth app with the service (GitHub, Slack, Google, etc.). Save your client ID and client secret.
Create Provider Deployment via API
Call
POST /provider-deployments to create a deployment for the provider.Create Provider Auth Config
Call
POST /provider-auth-configs with your OAuth app credentials linked to the deployment.Benefits:
- Consent screens show your company name and branding
- Full control over scopes and permissions
- Integrate with existing identity systems
- Credentials stay in your infrastructure
BYO API Keys
Use your own API keys for integrations like Exa, Brave, or Tavily.Use cases:
- Isolate usage per customer or team
- Track costs per deployment
- Rotate keys without affecting other deployments
manual) with your API key—Metorial uses it when tools are called within sessions that reference that deployment.