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

# Bing Ads Query authentication guide

export const maia = "Maia";

The [Bing Ads Query](/docs/components/bing-ads-query) component uses OAuth 2.0 for third-party authentication.

***

## Authorize Bing Ads Query

1. Follow the instructions in [OAuth](/docs/guides/oauth), and select Bing in the **Provider** field. Then, follow the steps below to fill in the fields in the **Values** section of the OAuth creation process.
2. Log in to the [Microsoft Advertising Developer Account page](https://developers.ads.microsoft.com/Account).
3. Follow the instructions in the [Get a Developer Token](https://learn.microsoft.com/en-us/advertising/guides/get-started?view=bingads-13#get-developer-token) section of the Bing Ads documentation.
4. Copy the code next to **Developer token** and paste that into the **Developer Token** field in {maia}.
5. Log in to the [Microsoft Advertising Developer Portal](https://ads.microsoft.com).
6. Follow the instructions in the [Get Your Account and Customer IDs](https://learn.microsoft.com/en-us/advertising/guides/get-started?view=bingads-13#get-ids) section of the Bing Ads documentation.
7. Copy and paste each credential into the corresponding **Customer ID** and **Account ID** fields in {maia}.
8. Click **Authorize**.
9. A new browser tab will open, connecting you to the third party. Select your account, and complete the connection. Upon success, this browser tab will close.

Your new OAuth connection is ready for use with the Bing Ads Query component.
