All Products
Search
Document Center

Hologres:Quickly build a ChatBI application using Dify and Hologres

Last Updated:Feb 04, 2026

This topic describes how to quickly build a ChatBI application using Dify and Hologres.

Background information

Dify is an open source large language model (LLM) application development platform. It combines the concepts of Backend as a Service and LLMOps, which allows developers to quickly build production-grade generative AI applications. Non-technical staff can also participate in defining AI applications and performing data operations.

Prerequisites

Precautions

Dify accesses the Hologres instance through the configured user. Note the following:

Procedure

  1. Install the hologres_text2data and model tools. In this example, the Qwen plug-in is used to provide the model service.

    On the Dify platform, click Plugins, click Explore Marketplace, search for hologres_text2data and tongyi, and then click Install.

    image

    Note

    The hologres_text2data plug-in is published to the official Dify marketplace and is open-sourced on GitHub.

  2. Configure the model provider.

    1. Click your account icon, click Settings, and then go to the Account page.

      image

    2. In the navigation pane on the left, click Model Providers.

    3. Click Settings next to Qwen, and in the Add Qwen dialog box, enter the API Key.

      In the Add Qwen dialog box, you can click Get API Key From Alibaba Cloud Model Studio to obtain an API key. For more information, see Make your first call to the Qwen API.

    4. Click Save to complete the configuration.

  3. Import a DSL file to build a ChatFlow.

    1. On the Dify platform, choose Studio from the menu bar, and then click Import DSL file.

      image

    2. In the dialog box that appears, upload the DSL file Hologres ChatBI with Holo Plugin-250422-v1.yml.

    3. Click Create to complete the upload.

      After the upload is complete, the system generates a default workflow. This workflow uses the Qwen-Max-Latest model from Model Studio. For more information about models, see Model list.

      image

  4. On the Orchestration page of the target ChatFlow, click the hologres_text2data and hologres_execute_sql nodes to configure the Hologres parameters.

    Parameter Name

    Description

    Database IP/Domain Name

    The endpoint of the Hologres instance. Example: hgprecn-cn-xxxk3ovx003-cn-hangzhou.hologres.aliyuncs.com.

    Log on to the Hologres console. In the navigation pane on the left, choose Instances. Click the ID of the target instance. In the Network Information section of the Instance Details page, obtain the endpoint. For more information, see Endpoints.

    Database Port

    The port number. The default value is 80.

    Database Name

    The name of the created database.

    Log on to the Hologres console. In the navigation pane on the left, choose Instances. Click the ID of the target instance to go to the Instance Details page. Click Database Management. On the Database Authorization page, obtain the database name.

    Username

    The name of the created user. The format is BASIC$<name>.

    Log on to the Hologres console. In the navigation pane on the left, choose Instances. Click the ID of the target instance to go to the Instance Details page. Click Account Management. On the Users page, obtain the username. For more information, see User management.

    Password

    The password that corresponds to the user.

  5. After the configuration is complete, click Publish > Publish Update in the upper-right corner.

  6. After the application is published, click Publish > Run in the upper-right corner to open the ChatBI application and start a chat.