Accéder à Looker:accédez à Looker et familiarisez-vous avec la plate-forme.
Explorer les tableaux de bord disponibles: explorez les tableaux de bord prédéfinis et les insights disponibles dans le tableau de bord que vous souhaitez déployer. Pour en savoir plus, consultez la section Blocs Looker disponibles.
Une fois que vous avez rempli les conditions préalables, vous pouvez installer votre bloc Looker.
Installation
Les blocs Looker utilisent LookML (Looker Modeling Language) pour définir le modèle sémantique des tableaux de bord Looker. Pour installer le modèle LookML qui correspond à votre source de données Cortex, utilisez l'une des options suivantes:
Option A: Installer via Marketplace Looker à partir d'une URL Git.
Option B: Installer en créant un fork du dépôt.
Les sections suivantes décrivent les étapes à suivre pour chaque option.
Option A: Installer via Marketplace Looker à partir d'une URL Git
Looker Marketplace est un emplacement centralisé accessible dans Looker qui permet de rechercher, de déployer et de gérer des blocs, des applications, des visualisations et des plug-ins Looker. Pour installer via Marketplace Looker à partir d'une URL Git, procédez comme suit:
Accédez à votre instance Looker.
Cliquez sur le bouton Marketplace dans la barre de menu Looker storefront.
Dans le menu "Place de marché", sélectionnez l'option Gérer.
Sur la page Gérer, sélectionnez le menu Options à trois points more_vert.
Sélectionnez Projects (Projets) dans le menu Develop (Développer).
En haut à gauche de la page Projets LookML, sélectionnez Configurer un nouveau modèle pour ouvrir la page Configurer un modèle.
Sur la page Configurer un modèle, spécifiez les options de votre modèle:
Modèle: nommez votre modèle du même nom que le fichier model.lkml du dépôt. Par exemple, nommez le modèle cortex-<datasource>.
Project (Projet) : nommez votre projet. Vous pouvez lui donner le même nom que le modèle ou spécifier un autre nom.
Connexions autorisées:spécifiez les connexions de base de données pouvant être utilisées par le modèle ou indiquez que le modèle est autorisé à utiliser toutes les connexions actuelles ou futures.
Cliquez sur Enregistrer pour enregistrer le projet en tant que Projet en attente.
Sur la page Projets LookML, recherchez le nouveau projet dans la section Projets en attente.
Cliquez sur Ajouter LookML pour ouvrir la page Nouveau projet.
Sur la page "Nouveau projet", spécifiez les options de votre projet:
Nom du projet: valeur spécifiée à l'étape précédente.
Point de départ: sélectionnez Projet vide.
Sélectionnez Créer un projet. Looker crée le projet et l'ouvre dans l'IDE Looker.
Mettez à jour les valeurs des constantes dans le fichier manifest.lkml :
Ouvrez le fichier manifest.lkml dans votre dépôt dupliqué dans Looker.
Recherchez la section des constantes et mettez à jour les valeurs comme décrit dans la section Paramètres obligatoires.
Validez et déployez les modifications en production. Avec le projet Looker basé sur votre dépôt dissocié, vous pouvez personnaliser le LookML pour qu'il réponde aux besoins spécifiques de votre entreprise. Suivez la procédure décrite dans la section Mettre vos modifications en production.
Paramètres obligatoires
Ces valeurs requises sont configurées lors du processus d'installation de la place de marché. Si ce bloc a été installé à partir d'un dépôt Git dissocié, vous devez mettre à jour les valeurs de ces constantes dans le fichier manifest.lkml du projet.
Paramètre
Valeur
Description
Blocs Looker
Connection Name
Nom de la connexion
Nom de la connexion BigQuery permettant à Looker d'interroger l'ensemble de données Cortex REPORTING.
doit être activé.
Tous
Project ID
ID du projet
Projet Google Cloud dans lequel se trouve l'ensemble de données de reporting dans BigQuery. Pour en savoir plus, consultez Identifier des projets.
Tous
Reporting Dataset
Nom de l'ensemble de données pour les rapports
Ensemble de données REPORTING de l'infrastructure de données Cortex déployé, dans lequel les vues de l'ensemble de données de la source de données se trouvent dans le projet Google Cloud BigQuery. En fonction des paramètres de déploiement de Cortex Data Foundation, le nom de cet ensemble de données se termine généralement par _REPORTING.
Tous
Client
Numéro client SAP (mandt)
Numéro client SAP (mandt) à utiliser pour la création de rapports.
SAP
Sign Change
Yes ou No
Pour les rapports sur le compte de résultat/bilan, les revenus sont généralement affichés dans le grand livre sous la forme d'un nombre négatif, ce qui indique un crédit. Si vous définissez la valeur de Sign Change sur Yes, elle s'affiche sous la forme d'un nombre positif dans les rapports sur le compte de résultat.
SAP
Exigences supplémentaires spécifiques aux blocs
Le déploiement de certains blocs nécessite des exigences spécifiques. Pour en savoir plus, consultez le déploiement spécifique au bloc:
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/09/04 (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/09/04 (UTC)."],[[["\u003cp\u003eThis guide outlines how to install prebuilt Looker blocks for Cortex Framework from public GitHub repositories, such as those for SAP, Salesforce, Oracle EBS, Meta, and YouTube.\u003c/p\u003e\n"],["\u003cp\u003eBefore installing Looker Blocks, ensure Cortex Framework is deployed, you have access to Looker, and you have explored the available dashboards.\u003c/p\u003e\n"],["\u003cp\u003eInstallation can be performed either through the Looker Marketplace using a Git URL or by forking the desired repository and connecting it to a new LookML project.\u003c/p\u003e\n"],["\u003cp\u003eThe installation process requires specifying parameters like the Connection Name, Project ID, and Reporting Dataset, which can be configured during Marketplace installation or within the \u003ccode\u003emanifest.lkml\u003c/code\u003e file when forking.\u003c/p\u003e\n"],["\u003cp\u003eSome blocks, such as SAP and Oracle EBS, have specific deployment requirements detailed in their respective documentation pages.\u003c/p\u003e\n"]]],[],null,["# Deploy Looker Blocks\n====================\n\nThis page describes the steps for installing a prebuilt Looker\nblock for Cortex Framework located in a public GitHub repository, such as:\n\n- [SAP for Cortex](https://github.com/looker-open-source/block-cortex-sap)\n- [Salesforce Sales Cloud (SFDC) for Cortex](https://github.com/looker-open-source/block-cortex-salesforce)\n- [Oracle EBS for Cortex](https://github.com/looker-open-source/block-cortex-oracle-ebs)\n- [Salesforce Marketing Cloud (SFMC) for Cortex](https://github.com/looker-open-source/block-cortex-sfmc)\n- [Meta for Cortex](https://github.com/looker-open-source/block-cortex-meta)\n- [YouTube (with DV360) for Cortex](https://github.com/looker-open-source/block-cortex-youtube)\n- [Cross Media \\& Product Connected Insights for Cortex](https://github.com/looker-open-source/block-cortex-cross-media)\n\nFor deploying the Looker Dashboard for Dun \\& Bradstreet,\nsee [Looker Studio Dashboard for Dun \\& Bradstreet](/cortex/docs/looker-dashboard-dun-and-bradstreet).\n\nPrerequisites\n-------------\n\nTo access and use these pre built dashboards, you need to priorly do the\nfollowing:\n\n1. **Deploy Cortex Framework** : Ensure you have Cortex Framework set up and configured with your data sources. For more information, see [Cortex Framework prerequisites for deployment](/cortex/docs/deployment-prerequisites).\n2. **Access Looker:** Access Looker and get familiar with the platform.\n3. **Explore available dashboards** : Explore the prebuilt dashboards and the available insights in the dashboard you would like to deploy. For more information, see [Available Looker Blocks](/cortex/docs/looker-block-overview).\n\nAfter completing the prerequisites, you are ready to install your\nLooker Block.\n\nInstallation\n------------\n\nLooker Blocks use [LookML](/looker/docs/what-is-lookml)\n(Looker Modeling Language) to define the semantic model for\nthe Looker dashboards. To install the LookML Model that\ncorresponds to your Cortex data source, use one of the following options:\n\n- **Option A**: Install through Looker Marketplace from a Git URL.\n- **Option B**: Install by forking the repository.\n\nThe following sections describe the steps for each option.\n\n### Option A: Install through Looker Marketplace from a Git URL\n\nThe [Looker Marketplace](/looker/docs/marketplace) is a central\nlocation within Looker for finding, deploying, and managing\nLooker Blocks, applications, visualizations, and plug-ins. To\ninstall through Looker Marketplace from a Git URL, follow these steps:\n\n1. Go to your Looker instance.\n2. Click the **Marketplace** button on the Looker menu bar storefront.\n3. From the Marketplace menu, select the **Manage** option.\n4. On the **Manage** page, select the three-dot **Options** menu more_vert.\n5. Select **Install via Git URL** button.\n6. Enter the URL and commit SHA of the chosen repository:\n - [SAP for Cortex](https://github.com/looker-open-source/block-cortex-sap)\n - [Salesforce Sales Cloud (SFDC) for Cortex](https://github.com/looker-open-source/block-cortex-salesforce)\n - [Oracle EBS for Cortex](https://github.com/looker-open-source/block-cortex-oracle-ebs)\n - [Salesforce Marketing Cloud (SFMC) for Cortex](https://github.com/looker-open-source/block-cortex-sfmc)\n - [Meta for Cortex](https://github.com/looker-open-source/block-cortex-meta)\n - [YouTube (with DV360) for Cortex](https://github.com/looker-open-source/block-cortex-youtube)\n - [Cross Media \\& Product Connected Insights for Cortex](https://github.com/looker-open-source/block-cortex-cross-media)\n7. Click **Install**.\n8. Agree and Continue at the terms and conditions dialog.\n9. Enter the [required parameters](#required_parameters) that corresponds to your data:\n - Connection Name\n - Project ID\n - Reporting Dataset\n10. Click **Install**.\n\nFor more information, see the Looker documentation for\n[Installing a Tool from a Git URL.](/looker/docs/marketplace#installing_a_tool_from_a_git_url)\n\n### Option B: Install by forking the repository\n\nTo install Looker blocks by forking the repository, follow these steps:\n\n1. **Fork the GitHub repository**:\n\n 1. Navigate to the GitHub repository for the chosen Looker Block:\n - [SAP for Cortex](https://github.com/looker-open-source/block-cortex-sap)\n - [Salesforce Sales Cloud (SFDC) for Cortex](https://github.com/looker-open-source/block-cortex-salesforce)\n - [Oracle EBS for Cortex](https://github.com/looker-open-source/block-cortex-oracle-ebs)\n - [Salesforce Marketing Cloud (SFMC) for Cortex](https://github.com/looker-open-source/block-cortex-sfmc)\n - [Meta for Cortex](https://github.com/looker-open-source/block-cortex-meta)\n - [YouTube (with DV360) for Cortex](https://github.com/looker-open-source/block-cortex-youtube)\n - [Cross Media \\& Product Connected Insights for Cortex](https://github.com/looker-open-source/block-cortex-cross-media)\n 2. Click **Fork** in the top-right corner of the repository.\n 3. Create a fork with your username. This creates a copy of the repository in your GitHub account.\n2. **Create a blank LookML project**:\n\n | **Note:** For Looker versions prior to 24.20, see [Creating a Blank Project](/looker/docs/create-projects#creating_a_blank_project) from the [New Project Page](/looker/docs/create-projects)-\n 1. [Verify that you are in Development Mode](/looker/docs/dev-mode-prod-mode#switching_in_and_out_of_development_mode).\n 2. Select **Projects** from the **Develop** menu.\n 3. From the top left of the **LookML Projects** page, select\n **Configure New Model** to open the **Configure a Model** page.\n\n 4. On the **Configure a Model** page, specify the options for your model:\n\n 1. **Model** : Name your model with the same name of\n the `model.lkml` file in the repository. For example, name the\n model `cortex-\u003cdatasource\u003e`.\n\n | **Note:** Looker enforces unique model names. If a model with the intended name already exists, an error message will be displayed. Ensure model name uniqueness to avoid installation failures.\n 2. **Project**: Name your project. Either name it the same as the\n model or specify a different name.\n\n 3. **Allowed Connections:** Specify which database connections can\n be used by the model, or specify that the model is allowed to use\n any current or future connections.\n\n 5. Click **Save** to save the project as a **Pending Project**.\n\n 6. From the **LookML Projects** page, locate the new project under the\n **Pending Projects** section.\n\n 7. Click **Add LookML** to open the **New Project** page.\n\n 8. On the New Project page, specify the options for your project:\n\n 1. **Project Name**: Already populated with value specified in prior step.\n 2. **Starting Point** : Select **Blank Project**.\n 9. Select **Create Project** . Looker creates the project\n and opens it in the [Looker IDE](/looker/docs/looker-ide).\n\n For more information, see the original Looker documentation\n for [Generating a LookML model](/looker/docs/generating-a-model).\n3. **Connect the new LookML project to the forked repository** : Follow the\n steps in the Looker documentation,\n [Setting up and testing a Git connection](/looker/docs/setting-up-git-connection).\n\n4. **Update the values of constants in the `manifest.lkml` file**:\n\n 1. Open the `manifest.lkml` file in your forked repository in Looker.\n 2. Locate the constants section and update the values as described in the [Required parameters](#required_parameters) section.\n5. **Commit and deploy changes to production** . With the\n Looker project based on your forked repository, you can customize\n the LookML to fit your unique business needs. Follow the steps in\n [Getting your changes to production](/looker/docs/version-control-and-deploying-changes#getting_your_changes_to_production).\n\n### Required parameters\n\nThese required values are configured during the Marketplace Installation process\nor if this Block was installed from a forked Git repository, you need to\nupdate the values for these constants in the `manifest.lkml` file for the project.\n\n### Additional block-specific requirements\n\nSome blocks have specific requirements for its deployment. For more information,\nsee the block-specific deployment:\n\nExtra Resources\n---------------\n\nFor more information about LookML, see the following documentation and training:\n\n- [Looker Best Practices](/looker/docs/best-practices/home)\n- [Looker Google Cloud Training](https://www.cloudskillsboost.google/catalog?keywords=looker&locale=&skill-badge%5B%5D=any&format%5B%5D=any&language%5B%5D=any)"]]