cd frontendnpm installto install dependenciesnpm run devto run frontend- In
frontend/src/main.ts, change dashboardId value to a valid dashboard id in your Looker instance. - Ensure frontend URI (e.g. http://localhost:5173) is added to Admin > Embed > Embedded Domain Allowlist in your Looker instance to allow JS events to work cross-domain.
cd backendnpm installto install dependencies- Create .env file with the following properties representing API credentials to your Looker instance:
LOOKERSDK_API_VERSION=4.0
LOOKERSDK_BASE_URL=[Looker instance url]
LOOKERSDK_CLIENT_ID=[API key]
LOOKERSDK_CLIENT_SECRET=[API secret]
- In
backend/app.ts, update the params variable in the/api/signed-url-for-embedroute to match your Looker setup, including the models property. npm run startto run backend