# Install the widget on your website

Instaling the widget on your website is crucial for getting a full **Closer** experience. You might need to ask your developer to do that for you.

Copy and paste the script below into the \<head> of every page, where you want the **Closer** widget to be displayed:

```
<script>
(function(c,l,o,s,e,r){c.closer=c.closer||{q:[]};["init","identify"].forEach(function(m){c.closer[m]=function(){this.q.push({method:m,args:arguments});}});c.closer["scriptUrl"]=s;e=l.createElement(o);e.async=1;e.src=s;r=l.getElementsByTagName(o)[0];r.parentNode.insertBefore(e,r);})(window,document,"script","https://widget.closer.app/widget.js");
</script>
```

After that, you can use the init method to render the widget.\
The orgId parameter is obtained from the [widget configuration](https://closer.app/dashboard/settings/widget-config) page in Closer.

```
closer.init({
  orgId: "00000000-0000-0000-0000-000000000000",
});
```

If your site runs on Wordpress, download our free plugin from <https://wordpress.org/plugins/closer-chat-video-calls-for-sales> and paste the Company ID below in the Closer Settings configuration tab.


---

# 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://support.closer.app/guide/getting-started/install-the-widget-on-your-website.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.
