# Gateways

On this screen, you can view the gateways available in Power BI along with useful information such as server name, contact information, gateway version, and the number of data sources using that gateway. It serves as an inventory of your company's gateways, since the system allows you to export this data to CSV and Excel.

By clicking "Actions" and then "Manage in Power BI", you can be redirected to Power BI to manage the gateway settings there.

<figure><img src="/files/X8FU3p5Eu3RSvHzuKRib" alt=""><figcaption></figcaption></figure>

### Permissions to list gateways and data sources

To be able to list the existing gateways in the Power BI environment, it is necessary to grant a permission to the application user (PowerEmbedded-App) in the Power BI Service.

Go to the [Manage connections and gateways](https://app.powerbi.com/groups/me/gateways) screen and click the ***Manage on-premises data gateways*** option.

<figure><img src="/files/f6Ymh3GwK7BLFJ2b4XSE" alt=""><figcaption></figcaption></figure>

Now click the 3 ellipses (...) next to the gateway you want to grant permission for and select the Manage Users option.

<figure><img src="/files/X19R3J5MuBYhkeKDOIPq" alt=""><figcaption></figcaption></figure>

On the user management screen, search for the name of the application you are using in Power Embedded (the default name is *PowerEmbedded-App*), check the Administrator permission, and click the Share button.

<figure><img src="/files/uwDYvNy2JimZjW0RHEfY" alt=""><figcaption></figcaption></figure>

Now repeat this process for all gateways you need to manage and access data through Power Embedded, **especially if you will be using a connection with Analysis Services (SSAS).**

{% hint style="danger" %}
If you are using a DirectQuery or Live Connection with an **Analysis Services (SSAS),** this gateway configuration may be required to open reports if they show a connection error.
{% endhint %}

{% hint style="warning" %}
**IMPORTANT:** It is not necessary to change permissions on data sources, since the Power Embedded user already has Administrator permission on the Gateway.

This greatly reduces the effort of having to configure these permissions on each data source, since the number of data sources is much larger than the number of gateways.
{% endhint %}


---

# 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.powerembedded.com/administration-portal/artifacts/gateways.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.
