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

# Connect from Excel

An Atoti session comes with its own dashboarding app but it can also be queried from other clients such as Excel.

With Excel, the connection is done through the session’s `/xmla` endpoint.

Create a new connection to an Analysis Services.
Use this URL for the server field and choose to connect with:

* **Use Windows Authentication** if Kerberos secures `/xmla`, which is the case when [`main_sso`](../api/atoti.config.security.SecurityConfig#atoti.SecurityConfig.main_sso) or [`xmla_sso`](../api/atoti.config.security.SecurityConfig#atoti.SecurityConfig.xmla_sso) is a [`KerberosConfig`](../api/atoti.config.security.KerberosConfig#atoti.KerberosConfig).
* **User Name and Password**:
  * Without security, leave these fields blank.
  * With [`security`](../api/atoti.config.SessionConfig#atoti.SessionConfig.security), fill them with your basic authentication [`credentials`](../api/atoti.security.BasicAuthenticationSecurity.credentials#atoti.security.basic_authentication_security.BasicAuthenticationSecurity.credentials).

![Connect with Excel](https://mintcdn.com/activeviam/0O2WinbFW-AXLRE1/engine/python-sdk/6.2/guides/__resources__/connect_from_excel/connect.gif?s=9e9240abb45864a7f93fcdf6ed353fe7)

## Connecting to a session using OpenID Connect

Excel’s Analysis Services connector offers Windows (Kerberos) and Basic authentication only, so it cannot present the identity of an OpenID Connect provider.
A session whose [`main_sso`](../api/atoti.config.security.SecurityConfig#atoti.SecurityConfig.main_sso) is an [`OidcConfig`](../api/atoti.config.security.OidcConfig#atoti.OidcConfig) can still be queried from Excel, in one of two ways:

* **With a username and password**: `/xmla` keeps accepting basic authentication, so define the [`credentials`](../api/atoti.security.BasicAuthenticationSecurity.credentials#atoti.security.basic_authentication_security.BasicAuthenticationSecurity.credentials) of the Excel users and give them roles.
* **With single sign-on**, by setting [`xmla_sso`](../api/atoti.config.security.SecurityConfig#atoti.SecurityConfig.xmla_sso) to a [`KerberosConfig`](../api/atoti.config.security.KerberosConfig#atoti.KerberosConfig).
  `/xmla` then authenticates with Kerberos while every other endpoint keeps using [`main_sso`](../api/atoti.config.security.SecurityConfig#atoti.SecurityConfig.main_sso), so Excel users are not prompted for a password.

The roles of a user authenticated on `/xmla` come from [`individual_roles`](../api/atoti.security.Security.individual_roles#atoti.security.Security.individual_roles) and from the [`default roles`](../api/atoti.security.KerberosSecurity.default_roles#atoti.security.kerberos_security.KerberosSecurity.default_roles) of the provider that authenticated them.
