diff --git a/README.md b/README.md index 6b4be430e..e5aa076fd 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,7 @@ Copilot is a Sim-managed service. To use Copilot on a self-hosted instance: - Go to https://sim.ai → Settings → Copilot and generate a Copilot API key - Set `COPILOT_API_KEY` in your self-hosted environment to that value +- Host Sim on a publicly available DNS and set NEXT_PUBLIC_APP_URL and BETTER_AUTH_URL to that value ([ngrok](https://ngrok.com/)) ## Tech Stack diff --git a/apps/docs/content/docs/copilot/index.mdx b/apps/docs/content/docs/copilot/index.mdx index e4017816b..cb083412f 100644 --- a/apps/docs/content/docs/copilot/index.mdx +++ b/apps/docs/content/docs/copilot/index.mdx @@ -16,7 +16,10 @@ Copilot is your in-editor assistant that helps you build, understand, and improv - **Edit**: Make changes to blocks, connections, and settings when you approve - Copilot is a Sim-managed service. For self-hosted deployments, generate a Copilot API key in the hosted app (sim.ai → Settings → Copilot) and set `COPILOT_API_KEY` in your environment. + Copilot is a Sim-managed service. For self-hosted deployments, generate a Copilot API key in the hosted app (sim.ai → Settings → Copilot) + 1. Go to [sim.ai](https://sim.ai) → Settings → Copilot and generate a Copilot API key +2. Set `COPILOT_API_KEY` in your self-hosted environment to that value +3. Host Sim on a publicly available DNS and set `NEXT_PUBLIC_APP_URL` and `BETTER_AUTH_URL` to that value (e.g., using ngrok) ## Modes diff --git a/apps/sim/next.config.ts b/apps/sim/next.config.ts index 8f43dbd05..cd7b448a2 100644 --- a/apps/sim/next.config.ts +++ b/apps/sim/next.config.ts @@ -31,6 +31,10 @@ const nextConfig: NextConfig = { protocol: 'https', hostname: '*.s3.*.amazonaws.com', }, + { + protocol: 'https', + hostname: 'lh3.googleusercontent.com', + }, // Custom domain for file storage if configured ...(env.NEXT_PUBLIC_BLOB_BASE_URL ? [