Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Implantar blocos do Looker
Esta página descreve as etapas para instalar um bloco do Looker pré-criado para o Cortex Framework localizado em um repositório público do GitHub, como:
Acessar o Looker:acesse o Looker e se familiarize
com a plataforma.
Conferir os painéis disponíveis: confira os painéis predefinidos e os insights disponíveis no painel que você quer implantar. Para mais
informações, consulte Blocos do Looker disponíveis.
Depois de concluir os pré-requisitos, você poderá instalar o
Looker Block.
Instalação
Os blocos do Looker usam o LookML (Looker Modeling Language) para definir o modelo semântico dos painéis do Looker. Para instalar o modelo LookML que corresponde à sua fonte de dados do Cortex, use uma das seguintes opções:
Opção A: instalar pelo Marketplace do Looker usando um URL do Git.
Opção B: instalar bifurcando o repositório.
As seções a seguir descrevem as etapas de cada opção.
Opção A: instalar pelo Marketplace do Looker usando um URL do Git
O Marketplace do Looker é um local central no Looker para encontrar, implantar e gerenciar blocos, aplicativos, visualizações e plug-ins do Looker. Para
instalar pelo Marketplace do Looker usando um URL do Git, siga estas etapas:
Acesse sua instância do Looker.
Clique no botão Marketplace na barra de menus do Looker storefront.
No menu do Marketplace, selecione a opção Gerenciar.
Na página Gerenciar, selecione o menu Opções de três pontos more_vert.
No canto superior esquerdo da página Projetos do LookML, selecione Configurar novo modelo para abrir a página Configurar um modelo.
Na página Configurar um modelo, especifique as opções do modelo:
Modelo: nomeie seu modelo com o mesmo nome do
arquivo model.lkml no repositório. Por exemplo, nomeie o
modelo como cortex-<datasource>.
Project: nomeie seu projeto. Dê o mesmo nome do
modelo ou especifique um nome diferente.
Conexões permitidas:especifique quais conexões de banco de dados podem ser usadas pelo modelo ou especifique que o modelo tem permissão para usar qualquer conexão atual ou futura.
Clique em Salvar para salvar o projeto como Em espera.
Na página Projetos do LookML, localize o novo projeto na seção Projetos pendentes.
Clique em Adicionar LookML para abrir a página Novo projeto.
Na página "Novo projeto", especifique as opções:
Nome do projeto: já preenchido com o valor especificado na etapa
anterior.
Atualize os valores das constantes no arquivo manifest.lkml:
Abra o arquivo manifest.lkml no repositório bifurcado no Looker.
Localize a seção de constantes e atualize os valores conforme descrito na seção
Parâmetros obrigatórios.
Confirmar e implantar as mudanças na produção. Com o
projeto do Looker baseado no repositório bifurcado, você pode personalizar
o LookML para atender às suas necessidades comerciais. Siga as etapas em
Como levar suas mudanças para a produção.
Parâmetros obrigatórios
Esses valores obrigatórios são configurados durante o processo de instalação do Marketplace
ou, se o bloco foi instalado de um repositório Git bifurcado, é necessário
atualizar os valores dessas constantes no arquivo manifest.lkml do projeto.
Parâmetro
Valor
Descrição
Looker Block
Connection Name
Nome da conexão
O nome da conexão do BigQuery que permite que o Looker consulte o conjunto de dados de RELATÓRIOS do Cortex.
precisa estar ativado.
Todos
Project ID
ID do projeto
O projeto Google Cloud em que o conjunto de dados de relatórios está localizado no BigQuery. Para mais informações,
consulte Como identificar projetos.
Todos
Reporting Dataset
Nome do conjunto de dados para relatórios
O conjunto de dados de REPORTING da Cortex Data Foundation implantado, em que as visualizações do conjunto de dados da fonte de dados residem no projeto Google Cloud do BigQuery. Dependendo das configurações de implantação da Cortex Data Foundation, o nome desse conjunto de dados normalmente é do tipo que termina com _REPORTING.
Todos
Client
Número do cliente SAP (mandt)
O número do cliente SAP (mandt)
a ser usado para relatórios.
SAP
Sign Change
Yes ou No
Para relatórios de lucros e perdas/demonstração de resultados, a receita geralmente aparece no livro-razão como um número negativo, o que indica um crédito. Ao definir o valor de mudança de sinal como Yes,
ele é mostrado como um número positivo nos relatórios da demonstração de resultados.
SAP
Outros requisitos específicos do bloco
Alguns blocos têm requisitos específicos para implantação. Para mais informações,
consulte a implantação específica do bloco:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)"]]