> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codenullapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PowerBi Component

> The configuration prop is an object that contains the necessary properties for embedding the Power BI report.

### Properties

#### `configuration`

The `configuration` prop is an object that contains the necessary properties for embedding the Power BI report.

**Properties of `configuration`:**

* `reportID` (string) Optional: The unique identifier for the Power BI report. This ID is used to specify which report to embed.
* `embedUrl` (string): The URL used to embed the Power BI report. This URL is typically provided by the Power BI service.
* `accessToken` (string) Optional: The access token required to authenticate the embed request. This token must be generated and provided securely to allow embedding.

### More information

[https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/powerbi-client-react](https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/powerbi-client-react)

[https://github.com/microsoft/PowerBI-client-react#demo](https://github.com/microsoft/PowerBI-client-react#demo)

### Example Usage

Here is an example of how to use the `PowerBi` component:

<figure>
  <img src="https://mintcdn.com/codenull/9RtgKoAtzvpYtN-c/images/9eBMZZP7J7wSSBFVIl9x.png?fit=max&auto=format&n=9RtgKoAtzvpYtN-c&q=85&s=61a766c039cae5c2cf79bee83b896e2d" alt="" width="691" height="477" data-path="images/9eBMZZP7J7wSSBFVIl9x.png" />

  <figcaption />
</figure>
