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.

fix(data-warehouse): drop the firewall hint from BigQuery and Firebase setup (#94828)

Tom Owersf362eec45eef
diff --git a/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene.tsx b/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene.tsx
index 9af307823943..c8cb82f84515 100644
--- a/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene.tsx
+++ b/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene.tsx
@@ -518,6 +518,11 @@ function FirstStep({ allowedSources }: NewSourcesWizardProps): JSX.Element {
return <SourceCatalog allowedSources={allowedSources} />
}
+// Connectors in the "Databases" category that PostHog reaches over the provider's public HTTPS API
+// with a service account key. The customer has no network path in front of them, so the firewall
+// hint would name a setup step that does not exist.
+const SOURCES_WITHOUT_NETWORK_ALLOWLIST: ExternalDataSourceType[] = ['BigQuery', 'Firebase']
+
// Firewall allowlisting only applies to self-hosted databases PostHog dials out to, so the hint is
// scoped to that category rather than shown for OAuth/API connectors.
function DatabaseFirewallHint(): JSX.Element | null {
@@ -579,7 +584,8 @@ function SecondStep({ sourceWizardLogicProps }: { sourceWizardLogicProps?: Sourc
)}
</div>
- {selectedConnector.category === 'Databases' && <DatabaseFirewallHint />}
+ {selectedConnector.category === 'Databases' &&
+ !SOURCES_WITHOUT_NETWORK_ALLOWLIST.includes(selectedConnector.name) && <DatabaseFirewallHint />}
<LemonDivider />