Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

docs(internal): note OAuth-during-install requirement in sandboxes setup (#58546)

Georgiy Tarasova604b92ac239
diff --git a/docs/internal/sandboxes-setup-guide.md b/docs/internal/sandboxes-setup-guide.md
index d667e8356d33..d16ed03e2f7e 100644
--- a/docs/internal/sandboxes-setup-guide.md
+++ b/docs/internal/sandboxes-setup-guide.md
@@ -35,12 +35,13 @@ Steps:
localhost is fine; the value just has to be a valid URL since it's
required when creating the App.
4. Set the permissions above
-5. Generate a **client secret** under "Client secrets" on the App page —
+5. Under "Identifying and authorizing users", check **Request user authorization (OAuth) during installation** — required for the personal user-link flow
+6. Generate a **client secret** under "Client secrets" on the App page —
this is required (added a couple of releases back). If your local setup
stopped working recently, this is most likely what's missing.
-6. Generate a private key
-7. Install the app on your test repositories by going to `http://localhost:8010/project/1/settings/project-integrations` and installing the GitHub Integration
-8. Add to your `.env`:
+7. Generate a private key
+8. Install the app on your test repositories by going to `http://localhost:8010/project/1/settings/project-integrations` and installing the GitHub Integration
+9. Add to your `.env`:
```bash
# The OAuth Client ID (starts with Iv1 or Iv23) — NOT the numeric App ID.