# Magento 2

&#x20;Add your Harness "Donate Button" Code on Magento 2

![Jordan Patrick avatar](https://static.intercomassets.com/avatars/1077323/square_128/support_avatar-1578343714.png?1578343714)

&#x20;Written by Jordan Patrick\
&#x20;Updated over a week ago

![](https://downloads.intercomcdn.com/i/o/110282332/89a3bb87b4a56ea49093a862/magento2.png)

Harness is compatible with Magento 2! Follow these steps to "Harness your Website" on your Magento 2

**Step 1:** Log in to your Harness Admin Dashboard

**Step 2:** In your "Settings" - click on the "Website Code" tab (or [Click Here](https://admin.harnessapp.com/settings/website-code))

**Step 3:** Copy the "Harness your Website" Code

**Step 4:** Log in to your Magento 2 Admin Account

**Step 5:** In the left side menu, select "Content" and then click "Blocks"

**Step 6:** On the table, find the "Footer Links Block" adn click "Edit" in the far right column

**Step 7:** Click on "Show/Hide Editor"

**Step 8:** Below the existing code, PASTE your Harness Code - then click "Save Block"

**Step 9:** All done! Remember to check your website setup with [Chrome](http://harness.online/instructions-check-chrome.html) or [Firefox](http://harness.online/instructions-check-firefox.html)


---

# 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://harness.gitbook.io/harness/admin/adding-the-button-to-site/untitled-19.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.
