Onlook Docs

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

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:

  1. 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.
  2. Update the usages by searching for initModel
  3. 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.