> For the complete documentation index, see [llms.txt](https://docs.wirebootstrap.com/powerbi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wirebootstrap.com/powerbi/installation.md).

# 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](https://3603789314-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVRCnHctU4Ce171IO9sfH%2Fuploads%2FwCeoSgmhHOdi1BLNA77Q%2Fimage.png?alt=media\&token=088f9923-4004-4ddc-9eb8-6b0a223db7ac)

## 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](https://docs.wirebootstrap.com/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>

```

##
