# How To: Use Google Fonts in Themes

Google Fonts is a computer font and web font service owned by Google.&#x20;

This article will guide you in referencing a Google Font from Cubu for use on Portals, Kiosks, Tickets, and Digital Signs.

## Choose a Font

* Open <https://fonts.google.com/>
* Browse the fonts library and select the font you wish to use.

<figure><img src="https://2572483209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8vfRpZGqpk7N0egaXMQ8%2Fuploads%2FcIdfWvZ9tNiD2IDMynop%2Fimage.png?alt=media&#x26;token=9d703770-b4d0-4108-8245-e2bae27f486c" alt=""><figcaption></figcaption></figure>

* Click **Get Font**

<figure><img src="https://2572483209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8vfRpZGqpk7N0egaXMQ8%2Fuploads%2FGViRsR3GFRdQoVM8fyyy%2Fimage.png?alt=media&#x26;token=b80c8d88-c017-4a9b-bcc1-1bde9bf7d61f" alt=""><figcaption></figcaption></figure>

### Click **Get Embed Code.**

Choose Web / \<link> to view the embed code.

<figure><img src="https://2572483209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8vfRpZGqpk7N0egaXMQ8%2Fuploads%2FDaxPR5Na0Y4JnaWYW5B5%2Fimage.png?alt=media&#x26;token=e46ae257-be03-441b-9137-833d0a1d64cf" alt=""><figcaption></figcaption></figure>

Take note of the stylesheet **URL** and **font family**.&#x20;

For example, if this is the embed code shown on screen:

{% code overflow="wrap" %}

```html
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
```

{% endcode %}

* The URL is:

{% code overflow="wrap" %}

```
https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap
```

{% endcode %}

* The font family is: "**Lato".**

## Use the Font in Cubu

* Go to Customer Engagement / Visual / Web Fonts.
* Click the New Web Font button to open the New Web Font dialog.
* Enter the font information:
  * Font Name: A unique name used to identify the font in Cubu.
  * Font Family: The font family you got in the previous step. Make sure you enter the **exact** name.
  * Font URL: The URL you got in the previous step.
* Click Create to create the font.

<div align="left"><figure><img src="https://2572483209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8vfRpZGqpk7N0egaXMQ8%2Fuploads%2FAQzEywjlrgxwQo1nAIAd%2Fimage.png?alt=media&#x26;token=96498971-9b79-4cda-8757-4da2a267f44b" alt="" width="563"><figcaption><p>New Web Font Dialog</p></figcaption></figure></div>

Once the font is created, you can use it in Themes.

## See Also

{% content-ref url="../../admin-tools/customer-engagement/managing-fonts" %}
[managing-fonts](https://docs.cubu.com/guides/admin-tools/customer-engagement/managing-fonts)
{% endcontent-ref %}

{% content-ref url="../../admin-tools/customer-engagement/managing-themes" %}
[managing-themes](https://docs.cubu.com/guides/admin-tools/customer-engagement/managing-themes)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cubu.com/guides/how-to-guides/admin-tasks/how-to-use-google-fonts-in-themes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
