# Add a Buy Button to your page

You can create a page that includes a Buy Button linking to a product from your store that leads customers directly to the checkout page. Follow the steps below on how to add this Buy Button.

1. &#x20;Starting from the Page Studio editor, click the **Content Blocks icon**.

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

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

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

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

3. Under the Buttons menu, drag and drop the **Buy Now Button block** into your article.

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

4. Click on the Buy Now Button Block, then hit the **Gear icon**. This will open the Buy Button's configuration menu.

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

5. Click the **Find Product** button.

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

6\. Select a product from your store.

7\. After selecting a product, hit the **Add** button.

8\. Feel free to change the text of the button. Once you're done, click **Ok**.

{% hint style="info" %}
On the live view of the page, the button will include all of the different variants within the drop-down menu above it. Clicking on **Buy Now** will lead customers directly to checkout.
{% endhint %}


---

# 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/add-a-buy-button-to-your-page.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.
