External Services
Onlook requires several external services to provide its features. Each of these services is self-hostable under Apache 2.0 or equivalently permissive licenses.
Self-hosting External Services
For assistance with self-hosting these services, please contact us at [email protected].
1. Supabase
- For scalable deployments, follow the official Supabase self-hosting guide to deploy with Docker.
- For single-machine deployments, you can run supabase through the CLI using the single-machine guide.
2. Sandbox Providers
- For scalable deployments, deploy E2B to GCP using their self-hosting guide.
- For single-machine deployments, we are adding a fully local sandbox provider in the future.
3. AI Providers
To configure custom AI providers:
- Update the providers in
packages/ai/src/chat/providers.ts
. We already support Anthropic and OpenRouter as examples. You can follow the same format to add a new provider. - Update the usages by searching for
initModel
- Update your API keys in the
apps/web/client/.env
file to the provider's expected API keys.
Note: We support any provider from the AI SDK providers. You can add a custom provider by following these AI SDK provider guides: OpenAI compatible and Community.