> ## Documentation Index
> Fetch the complete documentation index at: https://nango-scrips-ref.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Battlenet

API configuration: [`battlenet`](https://nango.dev/providers.yaml)

## Features

| Features                                                             | Status                         |
| -------------------------------------------------------------------- | ------------------------------ |
| [Auth (OAuth)](/integrate/guides/authorize-an-api)                   | ✅                              |
| [Sync data](/integrate/guides/sync-data-from-an-api)                 | ✅                              |
| [Perform workflows](/integrate/guides/perform-workflows-with-an-api) | ✅                              |
| [Proxy requests](/integrate/guides/proxy-requests-to-an-api)         | ✅                              |
| [Receive webhooks](/integrate/guides/receive-webhooks-from-an-api)   | 🚫 (time to contribute: \<48h) |

<Tip>We can implement missing features in \<48h, just ask for it in the [community](https://nango.dev/slack).</Tip>

## Getting started

* [How to register an Application](https://develop.battle.net/documentation/guides/getting-started)
* [OAuth-related docs](https://develop.battle.net/documentation/guides/using-oauth)
* [List of OAuth scopes](https://develop.battle.net/documentation/guides/using-oauth#:~:text=Scopes%20and%20OAuth%20enabled%20APIs)

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

## Connection configuration in Nango

Battlenet uses different domain extensions for different regions.

You need to pass the domain extension to use to Nango in the `nango.auth()` call:

```js
nango.auth('battlenet', '<CONNECTION-ID>', {params: {extension: 'com.cn'}});
```

For more details, see the [docs here](/integrate/guides/authorize-an-api#apis-requiring-connection-specific-configuration-for-authorization).

## API gotchas

* Tokens cannot be refreshed, hence when the token expires, resource owners will have to go through the authorize flow again.

<Note>Add Getting Started links and Gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs-v2/integrations/all/battlenet.mdx)</Note>
