> For the complete documentation index, see [llms.txt](https://docs.maker.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maker.co/maker-pages/media-and-content/maker-integration.md).

# Maker Integration

## Maker Integration - Pages

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

Maker integration requires only 2 new elements to be added to a page.

1. Element with js-maker-enhance-static-mount class name in a place where you want Maker content to render. Maker script will automatically find this element and replace it with Maker's that will render the content. This element has to have a unique ID attribute. If there are multiple elements like this on a single page, each has to have a different ID.
2. \<script> element loading customer specific URL (<https://app.maker.co/enhance/\\[user].js>). This script after is loaded, parsed, and executed by a browser would find all .js-maker-enhance-static-mount elements on a page and replace then with the correct content.

You can do this manually or if you have a website built using React, we have created a simple React component that does this automatically.

* Manual Integration
* React Component Integration ( Recommended for React sites )

### 1. Manual Integration

Insert this script to of your website immediately after the canonical link tag or the og:url tag.

Be sure to replace \[user] with your Maker user (in 2 places). If you don't know your Maker user, ask Maker support.

This is a universal script that works on all websites regardless of their architecture of JavaScript framework. If you have specific needs, or if you want to hide parts of your website and replace them with Maker, please contact Maker support and we can provide you a custom script built to fit your specific needs.

Lastly, insert this empty div to your page right where you want Maker content to appear.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.maker.co/maker-pages/media-and-content/maker-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
