This repo contains examples of how to embed Looker into a web application. For getting started it circumvents a user login and allows for anonymous users. In a real world application, user permission and authorization would be handled in a more robust way likely involving an IdP and a user database. There are 2 components provided:
-
App-Frontend - A sample React application that uses the Looker Embed SDK and API.
This is intended to be an example application, and shows many different ways of embedding Looker in another site. It demonstrates several similar ways to include a dashboard or visualization, and all of these techniques are valid. The examples that this application uses will come from your Looker instance.
- Install and run the App-Frontend web app using the integrated development server.
- Install and run either the Node backend.
The frontend React application serves a static web site. It relies on a backend server (node to communicate securely with Looker. To show Looker Dashboards or Looks, the frontend server requests a Signed SSO URL from the backend server. This URL is then added to an iframe on the site. Inside the iframe, the dashboard or Look is served directly from the Looker server.
See CONTRIBUTING.md
for details.
Apache 2.0; see LICENSE
for details.
This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.