2022-05-26 10:06:25 -05:00
---
aliases:
2022-12-09 10:36:04 -06:00
- ../../enterprise/white-labeling/
- ../enable-custom-branding/
2022-06-02 11:57:22 -05:00
description: Change the look of Grafana to match your corporate brand.
Explicitly set all front matter labels in the source files (#71548)
* Set every page to have defaults of 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration pages to have of 'Cloud', 'Enterprise', and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/enterprise-licensing pages to have 'Enterprise' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/organization-management pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/provisioning pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/recorded-queries pages to have labels cloud,enterprise
* Set administration/roles-and-permissions/access-control pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/stats-and-license pages to have labels cloud,enterprise
* Set alerting pages to have labels cloud,enterprise,oss
* Set breaking-changes pages to have labels cloud,enterprise,oss
* Set dashboards pages to have labels cloud,enterprise,oss
* Set datasources pages to have labels cloud,enterprise,oss
* Set explore pages to have labels cloud,enterprise,oss
* Set fundamentals pages to have labels cloud,enterprise,oss
* Set introduction/grafana-cloud pages to have labels cloud
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix introduction pages products
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set panels-visualizations pages to have labels cloud,enterprise,oss
* Set release-notes pages to have labels cloud,enterprise,oss
* Set search pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/audit-grafana pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-authentication pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/configure-authentication/enhanced-ldap pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-authentication/saml pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-database-encryption/encrypt-secrets-using-hashicorp-key-vault pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-request-security pages to have labels cloud,enterprise,oss
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-team-sync pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/export-logs pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set troubleshooting pages to have labels cloud,enterprise,oss
* Set whatsnew pages to have labels cloud,enterprise,oss
* Apply updated labels from review
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-18 03:10:12 -05:00
labels:
products:
- enterprise
- oss
2022-06-29 15:43:17 -05:00
title: Configure custom branding
2022-06-28 14:22:35 -05:00
weight: 300
2022-05-26 10:06:25 -05:00
---
2020-01-24 09:33:59 -06:00
2022-06-28 14:22:35 -05:00
# Configure custom branding
2020-01-24 09:33:59 -06:00
2022-06-02 11:57:22 -05:00
Custom branding allows you to replace the Grafana brand and logo with your own corporate brand and logo.
2020-01-24 09:33:59 -06:00
2023-05-22 15:45:28 -05:00
{{% admonition type="note" %}}
2023-08-03 14:56:46 -05:00
Available in [Grafana Enterprise ]({{< relref "../../../introduction/grafana-enterprise" >}} ) and [Grafana Cloud ](/docs/grafana-cloud ). For Cloud Advanced and Enterprise customers, please provide your desired custom elements and corresponding logos to our Support team. We will help you in hosting your images and updating your Custom Branding.
2023-05-22 15:45:28 -05:00
{{% /admonition %}}
2020-01-24 09:33:59 -06:00
2022-06-02 11:57:22 -05:00
Grafana Enterprise has custom branding options in the `grafana.ini` file. As with all configuration options, you can also set them with environment variables.
2020-01-24 09:33:59 -06:00
You can change the following elements:
2020-03-10 15:54:19 -05:00
- Application title
- Login background
- Login logo
2020-01-24 09:33:59 -06:00
- Side menu top logo
2020-03-10 15:54:19 -05:00
- Footer and help menu links
2020-01-24 09:33:59 -06:00
- Fav icon (shown in browser tab)
2020-05-07 04:00:47 -05:00
- Login title (will not appear if a login logo is set, Grafana v7.0+)
- Login subtitle (will not appear if a login logo is set, Grafana v7.0+)
- Login box background (Grafana v7.0+)
2021-07-02 07:17:10 -05:00
- Loading logo
2020-01-24 09:33:59 -06:00
2022-06-02 11:57:22 -05:00
> You will have to host your logo and other images used by the custom branding feature separately. Make sure Grafana can access the URL where the assets are stored.
2020-03-10 15:54:19 -05:00
2022-06-02 11:57:22 -05:00
{{< figure src = "/static/img/docs/v66/whitelabeling_1.png" max-width = "800px" caption = "Custom branding example" > }}
2020-03-10 15:54:19 -05:00
2023-05-18 09:50:20 -05:00
The configuration file in Grafana Enterprise contains the following options. Each option is defined in the file. For more information about configuring Grafana, refer to [Configuration ]({{< relref "../../configure-grafana" >}} ).
2020-01-24 09:33:59 -06:00
```ini
# Enterprise only
[white_labeling]
2020-02-25 08:18:37 -06:00
# Set to your company name to override application title
;app_title =
2020-05-07 04:00:47 -05:00
# Set to main title on the login page (Will not appear if a login logo is set)
;login_title =
# Set to login subtitle (Will not appear if a login logo is set)
;login_subtitle =
2020-02-14 10:11:08 -06:00
# Set to complete URL to override login logo
2020-01-24 09:33:59 -06:00
;login_logo =
2020-05-07 04:00:47 -05:00
# Set to complete CSS background expression to override login background
2020-01-24 09:33:59 -06:00
# example: login_background = url(http://www.bhmpics.com/wallpapers/starfield-1920x1080.jpg)
;login_background =
2020-05-07 04:00:47 -05:00
# Set to complete CSS background expression to override login box background
;login_box_background =
2020-02-14 10:11:08 -06:00
# Set to complete URL to override menu logo
2020-01-24 09:33:59 -06:00
;menu_logo =
2020-02-14 10:11:08 -06:00
# Set to complete URL to override fav icon (icon shown in browser tab)
2020-01-24 09:33:59 -06:00
;fav_icon =
2020-02-14 10:11:08 -06:00
# Set to complete URL to override apple/ios icon
2020-01-24 09:33:59 -06:00
;apple_touch_icon =
2021-07-02 07:17:10 -05:00
# Set to complete URL to override loading logo
2021-08-04 02:36:42 -05:00
;loading_logo =
2020-03-10 15:54:19 -05:00
```
2021-08-06 08:52:36 -05:00
2021-03-29 11:29:41 -05:00
You can replace the default footer links (Documentation, Support, Community) and even add your own custom links.
An example follows for replacing the default footer and help links with new custom links.
2020-03-10 15:54:19 -05:00
```ini
2021-03-29 11:29:41 -05:00
footer_links = support guides extracustom
2020-03-10 15:54:19 -05:00
footer_links_support_text = Support
footer_links_support_url = http://your.support.site
footer_links_guides_text = Guides
footer_links_guides_url = http://your.guides.site
2021-03-29 11:29:41 -05:00
footer_links_extracustom_text = Custom text
footer_links_extracustom_url = http://your.custom.site
2020-01-24 09:33:59 -06:00
```
2020-02-20 09:01:58 -06:00
2020-03-10 15:54:19 -05:00
Here is the same example using environment variables instead of the custom.ini or grafana.ini file.
2020-02-20 09:01:58 -06:00
```
2021-03-29 11:29:41 -05:00
GF_WHITE_LABELING_FOOTER_LINKS=support guides extracustom
2020-03-10 15:54:19 -05:00
GF_WHITE_LABELING_FOOTER_LINKS_SUPPORT_TEXT=Support
GF_WHITE_LABELING_FOOTER_LINKS_SUPPORT_URL=http://your.support.site
GF_WHITE_LABELING_FOOTER_LINKS_GUIDES_TEXT=Guides
2020-05-07 04:00:47 -05:00
GF_WHITE_LABELING_FOOTER_LINKS_GUIDES_URL=http://your.guides.site
2021-03-29 11:29:41 -05:00
GF_WHITE_LABELING_FOOTER_LINKS_EXTRACUSTOM_TEXT=Custom Text
GF_WHITE_LABELING_FOOTER_LINKS_EXTRACUSTOM_URL=http://your.custom.site
2020-02-20 09:01:58 -06:00
```
2021-03-29 11:29:41 -05:00
2023-05-22 15:45:28 -05:00
{{% admonition type="note" %}}
The following two links are always present in the footer:
{{% /admonition %}}
2021-08-06 08:52:36 -05:00
2021-03-29 11:29:41 -05:00
- Grafana edition
- Grafana version with build number
If you specify `footer_links` or `GF_WHITE_LABELING_FOOTER_LINKS` , then all other default links are removed from the footer and only what is specified is included.
2022-11-03 12:58:43 -05:00
## Custom branding for Public Dashboards
In addition to the customizations described below, you can customize the footer of your public dashboards.
To customize the footer of a public dashboard, add the following section to the `grafana.ini` file.
```ini
[white_labeling.public_dashboards]
# Hides the footer for the public dashboards if set to "true". If
# example: footer_hide = "true"
;footer_hide =
# Set to text shown in the footer
;footer_text =
# Set to complete url to override public dashboard footer logo
;footer_logo =
# Set to link for the footer
;footer_link =
```
If you specify `footer_hide` to `true` , all the other values are ignored because the footer will not be shown.