Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Nous vous proposons des options pour intégrer du contenu Looker dans votre application hôte à l'aide d'iFrames. Chaque option diffère dans la façon dont vous gérez et interagissez avec votre iframe, et dans la façon dont vous autorisez ou authentifiez votre utilisateur. Si vous ne savez pas par où commencer, consultez le parcours de formation suggéré à la fin de cette page.
Vous pouvez utiliser window.postMessage() pour interagir avec votre iFrame.
Vous générez une URL src d'iframe unique pour chaque session utilisateur d'intégration. Cette URL à usage unique crée un utilisateur d'intégration Looker ou met à jour un utilisateur existant.
Vous devez authentifier ou autoriser l'utilisateur en dehors de Looker, par exemple via le fournisseur d'identité de votre application hôte à l'aide de l'intégration signée.
Intégration signée avec le SDK d'ingestion (recommandé)
Vous utilisez l'API JavaScript pratique du SDK Embed pour gérer et interagir avec votre iframe.
Vous générez une URL unique pour chaque session utilisateur intégrée. Cette URL à usage unique crée un utilisateur d'intégration Looker ou met à jour un utilisateur existant. Le SDK d'intégration permet d'automatiser une partie de la génération d'URL.
Vous devez authentifier ou autoriser l'utilisateur en dehors de Looker, par exemple via le fournisseur d'identité de votre application hôte à l'aide de l'intégration signée.
L'intégration signée et le SDK d'intégration sont des concepts plus avancés.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/31 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/31 (UTC)."],[],[],null,["# Get started with embedding Looker\n\n| **Knowledge check:** This page assumes you understand the basics of Inline Frame HTML Element \\\u003ciframe\\\u003e, window.postMessage(), and Javascript. Check out the MDN web documentation on [iframes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe) and [postmessaging](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage) to familiarize yourself with these concepts.\n\nWe provide options for you to embed Looker content in your host application using iframes. Each option differs in how you manage and interact with your iframe and authorize or authenticate your user. If you are not sure which option to start with, check out the [suggested learning path](#suggested_learning_path) at the end of this page.\n\nYour iframe embedding options\n-----------------------------\n\nEvery option supports theming and can embed [dashboards](/looker/docs/creating-user-defined-dashboards), [LookML dashboards](/looker/docs/building-lookml-dashboards), [Explores](/looker/docs/creating-and-editing-explores), [Looks](/looker/docs/saving-and-editing-looks), query visualizations, and [extensions](/looker/docs/extension-overview).\n\n### Private embedding\n\n- You manage your iframe directly.\n- You may use window.postMessage() to interact with your iframe.\n- Your user must authenticate or authorize with Looker directly or with Looker using signed embedding with an identity provider.\n\n[Get started with private embedding](/looker/docs/gs-private-embedding)\n\n### Signed embedding\n\n- You manage your iframe directly.\n- You may use window.postMessage() to interact with your iframe.\n- You generate a unique iframe src url for every embed user session. This one-time-use URL creates a new Looker embed user or updates an existing one.\n- You must authenticate or authorize the user outside of Looker, for example, through your host application's identity provider using signed embedding.\n\n[Get started with signed embedding](/looker/docs/single-sign-on-embedding)\n\n### Signed embedding with Embed SDK (Recommended)\n\n- You use the Embed SDK's convenient Javascript API to **manage** and **interact** with your iframe.\n- You generate a unique URL for every embed user session. This one-time-use URL creates a new Looker embed user or updates an existing one. The Embed SDK helps automate part of the URL generation.\n- You must authenticate or authorize the user outside of Looker, for example, through your host application's identity provider using signed embedding.\n\n[Get started with signed embedding with the Embed SDK](/looker/docs/embed-sdk-intro)\n\nSuggested learning path\n-----------------------\n\nWe suggest you get started in this order:\n\n[1. Get started with private embedding](/looker/docs/gs-private-embedding)\n\nPrivate embedding will provide a basic understanding of Looker embedding.\n\n[2. Get started with signed embedding with Embed SDK](https://github.com/looker-open-source/embed-sdk#readme)\n\nSigned Embedding and the Embed SDK are more advanced concepts."]]