Hello, team! I have just now created a fresh accou...
# ask-questions
t
Hello, team! I have just now created a fresh account and I’m working on a PoC using cloud based GrowthBook instance. I’ve tried creating a simple feature flag + experiment setup. I’ve added a Managed Warehouse (growthbook_clickhouse) data source, and was able to successfully send events from my front-end to the GB (request returns status 200). When I try taking a look at the data though, I get following error:
Copy code
Error Decrypting Data Source Credentials.
I’ve tried re-creating the data source and waiting for some time (steps suggested by ChatGPT) but still the issue perists. Is there anything more I should do to properly configure the data source or is it an issue in GB back-end?
1
Screenshot 2026-05-05 at 15.23.51.png
a
Oh ok. Did you try clicking the purple button?
t
yeah, it takes me here: https://docs.growthbook.io/self-host/env#production-settings but these settings are not relevant for my case since I’m using a managed warehouse and it’s not a self hosted installation
a
what is your data source
t
Screenshot 2026-05-06 at 08.51.50.png,Screenshot 2026-05-06 at 08.51.42.png
Any update here? I’d really love to start using GrowthBook but I won’t convince my CTO without a working PoC 😅
1
a
Is your datasource outside the GC cloud instance environment
You mentioned it was managed. Have you tried seeing if the datasource can be reached from a terminal
t
it’s fully-managed by GrowthBook, as shown on the screenshot
I don’t have any credentials I could use in terminal to get inside it
my issue seems identical to the one reported here: https://growthbookusers.slack.com/archives/C01T6Q1SVFV/p1778145767495629
I also get the same error in SQL Explorer - and yes, the
8123
port is quite weird, but maybe this is some clue on what’s actually wrong in the system? I didn’t have anything to say which port would be used, since the config is limited to ToS agreement
When I try loading the schema for SQL Explorer I get following error, coming from clickhouse integration code: https://github.com/growthbook/growthbook/blob/d278a21c6e0c13017561ec022fd5090f0197ca24/packages/back-end/src/integrations/ClickHouse.ts#L86 I don’t think I have a power to set the database name anywhere in my UI
a
I think we're getting closer. I see a back-end test .ts file with the following :
Copy code
jest.mock("back-end/src/util/secrets", () => ({
  CLICKHOUSE_HOST: "<http://localhost:8123>",
  CLICKHOUSE_ADMIN_USER: "admin",
  CLICKHOUSE_ADMIN_PASSWORD: "password",
  CLICKHOUSE_DATABASE: "default",
  CLICKHOUSE_MAIN_TABLE: "events",
  ENVIRONMENT: "development",
  IS_CLOUD: false,
  CLICKHOUSE_OVERAGE_TABLE: "overage",
}));
We assume that that file overrides this file during testing:
Copy code
export const CLICKHOUSE_HOST = process.env.CLICKHOUSE_HOST || "";
export const CLICKHOUSE_ADMIN_USER = process.env.CLICKHOUSE_ADMIN_USER || "";
export const CLICKHOUSE_ADMIN_PASSWORD =
  process.env.CLICKHOUSE_ADMIN_PASSWORD || "";
export const CLICKHOUSE_DATABASE = process.env.CLICKHOUSE_DATABASE || "";
export const CLICKHOUSE_MAIN_TABLE = process.env.CLICKHOUSE_MAIN_TABLE || "";
export const CLICKHOUSE_OVERAGE_TABLE =
  process.env.CLICKHOUSE_OVERAGE_TABLE || "overage_events";
When configuring ClickHouse, were you able to input these config values:
Have you had a chance to review this document (just to cover the bases): https://docs.growthbook.io/warehouses/clickhouse
t
No - this is the only configuration when creating a managed warehouse:
https://docs.growthbook.io/app/managed-warehouse - this is the only documentation that’s relevant for me, as I’m saying - I’m trying to use managed warehouse
I’ve just received a following email, even though I have created my data warehouse - maybe the issue is that your system didn’t fully register the fact that the data warehouse is there (and that’s why some credentials are missing etc)?
I don’t know what happened over the weekend, but the issue has fixed itself 😄
I’ve received the following email yesterday at 12:35 CET