# Set button links

Before we start setting button links in Page Studio, there's a few formatting requirements to take note of.

When setting links to other web pages, always include the **https\://** portion of the URL.

![](/files/w9Z1SwNfTG2TcUeqjPUf)

![](/files/XactNQg0WC4ySBTs07oe)

When setting links to an email prompt, format the link by prefixing your email address with **mailto:**, as seen in the image below.

![](/files/ZyysYlHcM6YiFUw6txlW)

### Getting Started...

Follow the steps below on how to set links on Page Studio buttons.

1. Starting from the Page Studio editor, click the **Content Blocks icon**.

<figure><img src="/files/Xvqaot0q60TX1mQFurui" alt=""><figcaption></figcaption></figure>

2. Navigate into the ***Basic*** section by clicking the arrow icon, and select the **Buttons** menu.

<figure><img src="/files/gDlVRNGh39vhrWxPpOkZ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JLaF0aXSIOy0DzaPRZB3" alt=""><figcaption></figcaption></figure>

3. Locate the button you want to use and drag it to the desired location on the page.

<figure><img src="/files/StiCmnJG0kQZiAlpRhkx" alt=""><figcaption></figcaption></figure>

4\. Click the new button and select the **Link icon**.

<figure><img src="/files/sOeG7tDEX9C26nyiaJO3" alt=""><figcaption></figcaption></figure>

3\. Replace the top field with your URL.

<figure><img src="/files/jgq90Kod4MT8Voc3L9BJ" alt=""><figcaption></figcaption></figure>

* The **Open New Window** checkbox will control whether the visitor is taken to a brand new window in their browser when they click on the button.
* The **Text** field will control what text appears on your button.
* The **Title** field will be the text that appears if a visitor hovers over the button on your store.

4\. Save your changes.


---

# 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://shoppad.gitbook.io/pagestudio/customize-the-app/set-button-links.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.
