White labeling
White labeling lets you brand your ThingsBoard instance: set the application title, logos, and colors, or add custom CSS, without restarting the service. The White labeling page has five tabs; customer users do not see Mail templates:
| Tab | What it customizes |
|---|---|
| General | Logos, titles, colors, custom CSS, and interface options. Described on this page. |
| Login | The login page on your custom domain: domain, logos, titles, and colors. See Login. |
| Mail templates | Email notifications, for example account activation and password reset. See Mail templates. |
| Custom translation | UI languages and translation keys. See Custom translation. |
| Custom menu | The navigation menu. See Custom menu. |
Inheritance Model
Section titled “Inheritance Model”White labeling settings pass down from the system administrator to tenants and then to customers, including sub-customers nested in other customers. Each level inherits the settings of the level above and can override them for itself and the levels below.
To configure white labeling, a user needs the White labeling permission.
General Settings
Section titled “General Settings”Go to White labeling ⇾ General. The tab has three sections: Logo & titles, Appearance, and Interface options. Customer users do not see Interface options.
Configure the settings in the sections below. Click Preview to see the result in the UI before saving, then click Save.
Logo & Titles
Section titled “Logo & Titles”| Setting | Description |
|---|---|
| Application title | Title in the browser tab. |
| Website icon | Icon in the browser tab and bookmarks. PNG or ICO, 32×32 px recommended. |
| Logo | Logo in the upper-left corner. SVG or PNG, at least 96 px high, up to 200 KB. |
| Logo height | Logo height in pixels, up to 200 px for tall logos. When the field is empty, the default height shown in it is used. The logo scales proportionally and stays centered. |
| Collapsed sidebar logo | Logo shown when the sidebar is collapsed. Square SVG or PNG, at least 48×48 px, up to 100 KB. |
| Override Trendz analytics Add-on name | Renames the “Trendz” add-on to “Advanced analytics” across the platform. |
| Show platform name and version in the bottom-left corner | Shows the platform name and version in the bottom-left corner. Set them in Platform Name and Platform version (required; filled in with ThingsBoard and the current version by default). |
For Website icon, Logo, and Collapsed sidebar logo, click Browse from gallery to pick an image from the image gallery, or Set link to use an image URL.
Appearance
Section titled “Appearance”Application shell sets how the primary color is applied to the sidebar, the app bar, and page headings:
- Light — white sidebar and app bar with colored accents.
- Primary — sidebar and app bar filled with the primary color.
Primary palette is the main brand color: the sidebar, app bar, page headings, buttons, links, and active menu items. Accent palette colors checkboxes, radio buttons, toggles, sliders, progress bars, and badges.
To set a palette:
- Select a predefined palette from the Primary palette or Accent palette list, for example Default, Red, or Purple.
- To adjust its colors, click Customize (pencil icon) next to the list. The Edit palette dialog opens.
- The dialog shows the palette’s 14 shades, from 50 to 900 and from A100 to A700. Labels show where shades are used: 500 is the Primary background, 600 the Secondary background, and 300, 800, and A100 are HUE 1, HUE 2, and HUE 3. Click a shade, pick a color or enter its RGBA values, and click Select.
- Click Save palette.
Advanced CSS
Use custom CSS for what palettes and the application shell do not cover, for example icons, fonts, backgrounds, or scrollbars. The CSS applies across the whole platform.
- Click Add Custom CSS.
- Enter your CSS in the Advanced CSS editor.
- Click Save in the dialog, then Save on the tab.
CSS set on the Login tab applies only to the login page.
Interface Options
Section titled “Interface Options”Customer users do not see this section.
| Setting | Who sees it | Description |
|---|---|---|
| Show connectivity dialog | Tenant administrator | Shows a dialog with connection instructions after a device is created. |
| Enable help links | System administrator | Shows contextual help icons (?) across the platform. When it is on, set Help links base url, the base URL of your documentation portal that help icons open, and UI help base url, the repository from which the platform loads in-app help. |
Reset to Default
Section titled “Reset to Default”To discard all customizations, click Reset to default at the bottom of the General tab and confirm.
Was this helpful?