CINXE.COM

<!doctype html> <html lang="en"> <head> <!-- Google Tag Manager --> <script> (function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-PWWRVV9K'); </script> <!-- End Google Tag Manager --> <base href="/" /> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="icon" type="image/x-icon" href="https://graphql-engine-cdn.hasura.io/console/assets/common/img/favicon_green.png" /> <script type="module" crossorigin src="./assets/index-CHpgV3Me.js"></script> <link rel="modulepreload" crossorigin href="./assets/vendor-D_6LUTdB.js"> <link rel="stylesheet" crossorigin href="./assets/index-JYH3PEb1.css"> </head> <body> <div id="root"></div> </body> <!-- Google Tag Manager (noscript) --> <noscript ><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PWWRVV9K" height="0" width="0" style="display: none; visibility: hidden" ></iframe ></noscript> <!-- End Google Tag Manager (noscript) --> <script> const getEnv = (value, fallback) => { if (value.startsWith('%VITE')) { // if the value starts with %VITE, it means it was not replaced by the env var // this happens when the env var is not defined if (fallback) { // if a fallback is provided, return the fallback return fallback; } // if no fallback is provided, return undefined return undefined; } else { // if the value does not start with %VITE, it means it was replaced by the env var // so, return the value return value; } }; const envVars = { // define a fallback value for base path so if this global ever accessed without being parsed, // it will always have a valid value consoleBasePath: getEnv('%VITE_CONSOLE_BASE_PATH%', '/'), promptQlControlPlaneHost: getEnv('https://data.promptql.pro.hasura.io/graphql'), ddnConsoleUrl: getEnv('%VITE_DDN_CONSOLE_URL%'), promptQlPlaygroundHost: getEnv('https://playground.promptql.pro.hasura.io'), promptQlApiHost: getEnv('https://api.promptql.pro.hasura.io'), controlPlaneDataHost: getEnv('data.pro.hasura.io'), controlPlaneDDNHost: getEnv('cp-ddn.pro.hasura.io/supergraph-prod'), controlPlaneDashboardHost: getEnv('cloud.hasura.io'), controlPlaneProtocol: getEnv('https'), controlPlanePAT: getEnv('%VITE_CONSOLE_PAT%'), consoleSentryDSN: getEnv('https://3c3995a5fe95b4dd128c8a37b93db3a5@o417608.ingest.sentry.io/4506036694220800'), posthogApiHost: getEnv('https://analytics-posthog.hasura-app.io'), posthogApiToken: getEnv('phc_MZpdcQLGf57lyfOUT0XA93R3jaCxGsqftVt4iI4MyUY'), stripePublishableKey: getEnv('pk_live_51GwjuzLItHKS20xZhZpTayx4l6Rq1iEQZKGFcZvQqqa6vTkkPRWAdZFLs5BfK0MYuyIazeCwa9xOmWXiTy1LQgvq00JbGst7Ta'), launchDarklyClientId: getEnv('6333225ef496a411faa378ad'), controlPlaneAuth: getEnv('auth.pro.hasura.io'), privateDdn: getEnv('%VITE_PRIVATE_DDN%') === 'true', privateDdnObservabilityEnabled: getEnv('%VITE_PRIVATE_DDN_OBSERVABILITY_ENABLED%') === 'true', openReplayProjectKey: getEnv('x5WnKn7RdPjizi93Vp5I'), openReplayIngestPoint: getEnv('https://analytics-openreplay.hasura-app.io/ingest'), isPromptQLFocusMode: getEnv('%VITE_IS_PROMPTQL_MODE%') === 'true' || window.location.hostname?.includes('promptql.console'), }; window.__env = envVars; document.title = envVars.isPromptQLFocusMode ? 'Hasura PromptQL Console' : 'Hasura DDN Console'; </script> </html>