Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Looker Blocks bereitstellen
Auf dieser Seite werden die Schritte zum Installieren eines vorkonfigurierten Looker-Blocks für das Cortex-Framework in einem öffentlichen GitHub-Repository beschrieben, z. B.:
Auf Looker zugreifen:Hier erfahren Sie, wie Sie auf Looker zugreifen und sich mit der Plattform vertraut machen.
Verfügbare Dashboards ansehen: Sehen Sie sich die vordefinierten Dashboards und die verfügbaren Statistiken im Dashboard an, das Sie bereitstellen möchten. Weitere Informationen finden Sie unter Verfügbare Looker-Blöcke.
Nachdem Sie die Voraussetzungen erfüllt haben, können Sie den Looker-Block installieren.
Installation
In Looker Blocks wird LookML (Looker Modeling Language) verwendet, um das semantische Modell für die Looker-Dashboards zu definieren. Verwenden Sie eine der folgenden Optionen, um das LookML-Modell zu installieren, das Ihrer Cortex-Datenquelle entspricht:
Option A: Über den Looker Marketplace über eine Git-URL installieren.
Option B: Installation durch Fork des Repositorys
In den folgenden Abschnitten werden die Schritte für die einzelnen Optionen beschrieben.
Option A: Über den Looker Marketplace über eine Git-URL installieren
Der Looker Marketplace ist ein zentraler Ort in Looker, an dem Sie Looker-Blöcke, -Anwendungen, -Visualisierungen und -Plug-ins finden, bereitstellen und verwalten können. So installieren Sie ein Add-on über den Looker Marketplace über eine Git-URL:
Rufen Sie Ihre Looker-Instanz auf.
Klicken Sie in der Looker-Menüleiste storefront auf die Schaltfläche Marketplace.
Wählen Sie im Menü „Marktplatz“ die Option Verwalten aus.
Wählen Sie auf der Seite Verwalten das Dreipunkt-Menü Optionenmore_vert aus.
Klicken Sie auf die Schaltfläche Über Git-URL installieren.
Geben Sie die URL und den Commit-SHA des ausgewählten Repositorys ein:
Wählen Sie im Menü Entwickeln die Option Projekte aus.
Wählen Sie links oben auf der Seite LookML-Projekte die Option Neues Modell konfigurieren aus, um die Seite Modell konfigurieren zu öffnen.
Geben Sie auf der Seite Modell konfigurieren die Optionen für Ihr Modell an:
Model: Geben Sie für das Modell denselben Namen wie für die model.lkml-Datei im Repository an. Benennen Sie das Modell beispielsweise cortex-<datasource>.
Project (Projekt): Geben Sie einen Namen für das Projekt ein. Geben Sie entweder denselben Namen wie für das Modell oder einen anderen Namen an.
Zulässige Verbindungen:Legen Sie fest, welche Datenbankverbindungen vom Modell verwendet werden dürfen, oder geben Sie an, dass das Modell alle aktuellen oder zukünftigen Verbindungen verwenden darf.
Klicken Sie auf Speichern, um das Projekt als Ausstehendes Projekt zu speichern.
Suchen Sie auf der Seite LookML-Projekte im Abschnitt Ausstehende Projekte nach dem neuen Projekt.
Klicken Sie auf LookML hinzufügen, um die Seite Neues Projekt zu öffnen.
Legen Sie auf der Seite „Neues Projekt“ die Optionen für Ihr Projekt fest:
Projektname: Enthält bereits den im vorherigen Schritt angegebenen Wert.
Ausgangspunkt: Wählen Sie Leeres Projekt aus.
Wählen Sie Projekt erstellen aus. Looker erstellt das Projekt und öffnet es in der Looker IDE.
Neues LookML-Projekt mit dem gegabelten Repository verbinden: Folgen Sie der Anleitung in der Looker-Dokumentation unter Git-Verbindung einrichten und testen.
Aktualisieren Sie die Werte der Konstanten in der Datei manifest.lkml:
Öffnen Sie die Datei manifest.lkml in Ihrem geforkten Repository in Looker.
Suchen Sie den Abschnitt „Konstanten“ und aktualisieren Sie die Werte wie im Abschnitt Erforderliche Parameter beschrieben.
Änderungen committen und in der Produktion bereitstellen Mit dem Looker-Projekt, das auf Ihrem gegabelten Repository basiert, können Sie die LookML an Ihre individuellen Geschäftsanforderungen anpassen. Folgen Sie der Anleitung unter Änderungen in die Produktion übernehmen.
Erforderliche Parameter
Diese erforderlichen Werte werden während der Installation im Play Store konfiguriert. Wenn dieser Block aus einem gegabelten Git-Repository installiert wurde, müssen Sie die Werte für diese Konstanten in der manifest.lkml-Datei für das Projekt aktualisieren.
Parameter
Wert
Beschreibung
Looker Blocks
Connection Name
Name der Verbindung
Der Name der BigQuery-Verbindung, mit der Looker das Cortex-REPORTING-Dataset abfragen kann.
muss aktiviert sein.
Alle
Project ID
Projekt-ID
Das Google Cloud Projekt, in dem sich das Berichtsdatenpool in BigQuery befindet. Weitere Informationen finden Sie unter Projekte identifizieren.
Alle
Reporting Dataset
Name des Datasets für die Berichterstellung
Das bereitgestellte Cortex Data Foundation-BERICHTS-Dataset, in dem sich die Datenquellendatensatzansichten im Google Cloud BigQuery-Projekt befinden. Je nach Bereitstellungseinstellungen für die Cortex Data Foundation endet dieser Dataset-Name in der Regel auf _REPORTING.
Alle
Client
SAP-Clientnummer (mandt)
Die SAP-Clientnummer (mandt), die für die Berichterstellung verwendet werden soll.
SAP
Sign Change
Yes oder No
In Gewinn- und Verlustrechnungen wird der Umsatz im Hauptbuch in der Regel als negative Zahl angezeigt, was auf ein Guthaben hinweist. Wenn Sie den Wert für die Änderung des Vorzeichens auf Yes festlegen, wird er in Berichten zur Gewinn- und Verlustrechnung als positive Zahl angezeigt.
SAP
Zusätzliche blockspezifische Anforderungen
Für einige Blöcke gelten bestimmte Anforderungen an die Implementierung. Weitere Informationen finden Sie in der blockspezifischen Bereitstellung:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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)"]]