{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Products","product_name":"Treasure Insights","type":"markdown"},"seo":{"title":"Creating an Elasticube Insights Model in Treasure Console","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"creating-an-elasticube-insights-model-in-treasure-console","__idx":0},"children":["Creating an Elasticube Insights Model in Treasure Console"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An Insights model is the data source for Treasure Insights. By defining relationships between tables, you can build dashboards and widgets that analyze your data."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#limitations"},"children":["Limitations"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#create-an-insights-model"},"children":["Create an Insights Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#define-the-insights-model"},"children":["Define the Insights Model"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#add-data"},"children":["Add Data"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#define-data-connections"},"children":["Define Data Connections"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"limitations","__idx":1},"children":["Limitations"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Support for an Elasticube with Treasure Data Plazma tables that has existing columns; no support to extract columns via SQL."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["No support for custom columns and tables."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["No error log details."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You cannot change the data model's name."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-an-insights-model","__idx":2},"children":["Create an Insights Model"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are five steps to build and share an Insights model."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-2-27_10-31-8.5a68c211e66b6a75eb8607d2207294cc5426c5f7ad039910e2becdff717866be.b979d678.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"define-the-insights-model","__idx":3},"children":["Define the Insights Model"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You must have the ability to edit data models and dashboards to define an Insights model.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Currently, it's not possible to use the same name tables even if they are under different databases. For example, if you have database_a.table1 and database_b.table1, you can't save them into the same datamodel. Please consider renaming one of the tables in such cases."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open Treasure Console."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select the Treasure Data icon to open the console.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/crystal_console_screenshot.e3e479de6a6963660af0005ccf6f540408c4ecc28b4df3a6fbd225a6478220bf.b979d678.png","alt":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Control Panel"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Insights Models"]}," and then select",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Insights Model"]},"."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-3-23_11-44-38.ddcf9de82ea4ad5d95fd900cc03f95bb0db5b46ce31fccddc5247df8ab7b6ab0.b979d678.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Complete the required fields:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]}," : Provide a meaningful name for your Insights model. You cannot change the name after you create the model."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}," : Select ElastiCube"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Key"]}," : Enter your Master ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/my-settings/getting-your-api-keys"},"children":["API Key"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2023-3-2_14-21-55.e1dcbaf6227e4304d0ba652dc71f7e704b8bba9afb487b1067deeee876a08d92.b979d678.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["(Recommended) Enter a description for the Insights model."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},"."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"add-data","__idx":4},"children":["Add Data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add data to your \"empty\" Insights model. First, you identify a database and then add tables to the data model."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1. Select",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add data"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2. Search for and select a database."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["3. Select one or more tables and add them to your data model."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/success.af604206e136e6b09d9e959f81cf569a779fa0a394aa8aa6f99dacf02b493a21.b979d678.png","alt":"Success"},"children":[]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"If you have tables with long names, hover your mouse over the name to display the full name."},"children":["If you have tables with long names, hover your mouse over the name to display the full name."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-3-24_10-16-57.b849591106ece3832ba999ad22885db8127493f53a1871d5c4433c5584c11673.b979d678.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"define-data-connections","__idx":5},"children":["Define Data Connections"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1. Connect data from one table to data in another table."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["2. Select column data and a data type."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-3-29_15-4-58.5de577e0485817cb08ac9a3df48f9a04cba287bf962a04aacd8edefec6b97b89.b979d678.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["3. Drag the arrow to connect the data.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Data types that match your selected data type display with connection dots. If there is a column with the same name, it's highlighted in blue. In the following example, we connect the table dls_sales, column email to table e-commerce sales, column email."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-3-29_15-36-36.df338c4c3a1f15ece8e09c643d486ff6773ca0cbd88a4edbc28f6427f218a7f5.b979d678.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["4. Switch tables and connect dlc_sales, column email to e-commerce_sales, column email."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image2021-3-29_16-3-4.aba71db7192d949d04231949237531f5f40fb58761f9ef4676357850d28d72b9.b979d678.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["5. Save your Insights model."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"next-steps","__idx":6},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/treasure-insights/building-an-elasticube-insights-model"},"children":["Building an Elasticube Insights Model"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/treasure-insights/sharing-elasticube-insights-models"},"children":["Sharing ElastiCube Insights Models"]}]}]},"headings":[{"value":"Creating an Elasticube Insights Model in Treasure Console","id":"creating-an-elasticube-insights-model-in-treasure-console","depth":1},{"value":"Limitations","id":"limitations","depth":2},{"value":"Create an Insights Model","id":"create-an-insights-model","depth":2},{"value":"Define the Insights Model","id":"define-the-insights-model","depth":2},{"value":"Add Data","id":"add-data","depth":2},{"value":"Define Data Connections","id":"define-data-connections","depth":2},{"value":"Next Steps","id":"next-steps","depth":3}],"frontmatter":{"seo":{"title":"Creating an Elasticube Insights Model in Treasure Console"}},"lastModified":"2026-06-01T09:09:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/customer-data-platform/treasure-insights/creating-an-elasticube-insights-model-in-td-console","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}