Custom Homepage

Introduction #

SmartChart supports customizing the platform homepage — including Logo, title, default LLM, homepage redirect report, and UI theme — via the SMC config section in Service Configuration. You can even configure different personalized homepage styles for different users or user groups, enabling a fully branded data portal deployment.


Use Cases #

  • Direct users to a specific report when opening the homepage
  • Customize a user-friendly homepage display

Usage #

  • Go to avatar (top-right) → Service Configuration
{
  "SMC": {
    "logo": "http://.../xx.png",
    "title": "Data Platform",
    "logoWidth": "130px",
    "gpt":"smtgpt",
    "home":"/echart/?type=2",
    "theme":"/static/smartui/theme/light.css"
  }
}
logo: Custom Logo URL
title: Custom homepage title
logoWidth: Logo size adjustment
gpt: Default LLM data source name
home: Homepage redirect URL
theme: UI theme path

Per-User Configuration #

For example, configure a custom style for admin:

{
  "_SMC": {
    "admin": {"title": "Personalized", "logo": "http://.../xx.png"}
  }
}