# Installation

WireBootstrap for Power BI can be downloaded from [here](https://www.wirebootstrap.com/products/powerbi.html).

## Sample Project

The download includes a Visual Studio sample project that demonstrates the different ways in which Power BI can be used inside applications developed with WireBootstrap.

![WireBootstrap for Power BI Sample Application](/files/lTVWLs7ool0FB8SSI77V)

## Libraries

All of the WireBootstrap for Power BI solution classes are located in the `\lib\wire-pbi.js` file off the root of the download.  To use the library on a page, add a reference to it *after* a reference to the [core WireBootstrap library](https://docs.wirebootstrap.com/wirebootstrap/overview).

```html

<!-- WireBootstrap Core -->
<script src="./node_modules/@wirebootstrap/wire/wire.js"></script>

<!-- WireBootstrap for Power BI -->
<script src="./lib/wire-pbi.js"></script>

```

### Components

The embed components such as the [WireBootstrap for Power BI Tile Component](/powerbi/tile-component.md) have a dependency on [Power BI's embed client API](https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/).  To use an embed component, add a reference to this library *before* `wire-pbi.js`.

```html

<!-- WireBootstrap Core -->
<script src="./node_modules/@wirebootstrap/wire/wire.js"></script>

<!-- Power BI Embed Client API -->
<script src="./node_modules/powerbi-client/dist/powerbi.min.js"></script>

<!-- WireBootstrap for Power BI -->
<script src="./lib/wire-pbi.js"></script>

```

##


---

# 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://docs.wirebootstrap.com/powerbi/installation.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.
