> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/bdb-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/bdb-documentation/data-visualization/governed-dashboards/getting-started/overview-of-designer-module/dashboard-canvas-page/right-side-panel/script-window.md).

# Script Window

{% hint style="success" %} <mark style="color:green;">Pre-requisite</mark>: *The users require basic scripting knowledge to use the **Component Variable** and **Script** option for creating interactive governed dashboards using the Designer module.*
{% endhint %}

The scripting mechanism makes the creation of complex dashboards easy and quick. The users get an icon to access the scripting window on the Designer Canvas page.

* Navigate to the Dashboard canvas.
* Click the ***Component Variable and Script*** icon.    &#x20;

![Accessing the Component Variables and Script icon in the Designer Canvas page](/files/xRJUvbDxlr2xTD7o76AD)

* The user gets redirected to the scripting window displaying the ***Components*** and ***Connections*** tabs to open the related panel for the each option. The ***Components*** tab opens by default.

![](/files/IaFE5eCTXj1SX6z6PsrK)

Refer the description given under the [*<mark style="color:blue;">**Script Window**</mark>* ](/bdb-documentation/data-visualization/governed-dashboards/getting-started/overview-of-designer-module/dashboard-canvas-page/right-side-panel/script-window.md)section for the further details.


---

# 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.bdb.ai/bdb-documentation/data-visualization/governed-dashboards/getting-started/overview-of-designer-module/dashboard-canvas-page/right-side-panel/script-window.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.
