# Changelog widget

1. Install the widget SDK by following the steps described below:

{% content-ref url="/pages/-MkT-mqpZEgkRg32PTEn" %}
[Installing widgets](/widgets/installing-widgets.md)
{% endcontent-ref %}

2. After installing the SDK code you need to add an attribute **data-prodcamp-changelog** to a button that you want to use to open the changelog widget, and after that - call the Changelog init function:

```javascript
<script>
    ProdCamp('initChangelog');
</script>
```

It's recommended to place the script above in a separate \<div> block.


---

# 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://help.prodcamp.com/widgets/changelog-widget.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.
