---
title: "Bet Concierge API Reference and Examples"
canonical_url: "https://docs.sportradar.com/resources/widgets/docs/bet-concierge/API-and-examples"
markdown_url: "https://docs.sportradar.com/resources/widgets/docs/bet-concierge/API-and-examples.md"
last_updated: "2026-10-26T11:03:07Z"
---

# Bet Concierge API Reference and Examples

Complete API reference for the Bet Concierge widget with detailed parameter descriptions.

## API Reference

| Property                         | Type                                    | Required | Default | Description                                                                                                                                                                                                                                                                |
| -------------------------------- | --------------------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `entityId`                       | `string`                                | **Yes**  | -       | Sportradar entity identifier in `sr:match:{id}` format (e.g., `"sr:match:50955863"`). See [Getting Identifiers](https://docs.sportradar.com/resources/widgets/docs/tutorials/getting-identifiers.md).                                                                      |
| `getJwt`                         | [`getJwt`](#getjwt)                     | **Yes**  | -       | Callback that returns the user's [JWT](https://docs.sportradar.com/resources/widgets/docs/tutorials/jwt.md) for authentication. Called on widget init and when a token refresh is needed. See [getJwt()](#getjwt).                                                         |
| `enableCustomBet`                | `boolean`                               | No       | `false` | Set this prop to `true` when implementing Custom Bet feature. This will enable `calculateCustomBetXML` adapter call.                                                                                                                                                       |
| `isInline`                       | `boolean`                               | No       | `false` | When `true`, enables inline mode without close button.                                                                                                                                                                                                                     |
| `hideBotIcon`                    | `boolean`                               | No       | `false` | When `true`, hides the bot icon (welcome screen, loader, and other states where the robot is shown). When `false`, the built-in robot or [custom bot icons](https://docs.sportradar.com/resources/widgets/docs/bet-concierge/theming-customization.md#bot-icons) are used. |
| `isRelativeScoreboardDateFormat` | `boolean`                               | No       | `true`  | When `true`, scoreboard dates use relative formatting; when `false`, absolute dates.                                                                                                                                                                                       |
| `onAction`                       | [function callback](#onaction-callback) | No       | -       | Optional callback invoked when the widget needs your app to react (for example: close or hide the widget, handle errors, or add a selection to the bet slip). See [The onAction callback](#onaction-callback).                                                             |

## onAction callback

Pass `onAction` function when you need to handle user events on bet concierge. The widget calls it with **one argument**: an object `{ type, data }`.

- **`type`** — Which category of event occurred. Use this in a `switch` (or equivalent) as the first branch.
- **`data`** — Payload for that event. The shape depends on `type`.

### Action object

Each time the widget invokes your callback, it passes an object with the following fields:

| Property | Type                                                                              | Description                                                   |
| :------- | :-------------------------------------------------------------------------------- | :------------------------------------------------------------ |
| `type`   | `'Close'` \| `'Error'` \| `'AddSelectionsToBetSlip'` \| `'CustomBetAddToBetSlip'` | High-level event category. See [Action types](#action-types). |
| `data`   | `object`                                                                          | Payload for that category; interpret it together with `type`. |

### Action types

| `type`                     | When it fires                                           | `data` shape                                        |
| :------------------------- | :------------------------------------------------------ | :-------------------------------------------------- |
| `'Close'`                  | User closes the widget from the header.                 | [`CloseBetConcierge`](#closebetconcierge)           |
| `'Error'`                  | Authentication or another recoverable widget error.     | [`WidgetError`](#widgeterror)                       |
| `'AddSelectionsToBetSlip'` | User selects a suggested outcome (bet suggestion flow). | [`AddSelectionsToBetSlip`](#addselectionstobetslip) |
| `'CustomBetAddToBetSlip'`  | User clicks **Add to bet slip** on a custom bet combo.  | [`CustomBetAddToBetSlip`](#custombetaddtobetslip)   |

### CloseBetConcierge

Emitted when the user closes the widget from the header (X) button. Your integration should hide or unmount the widget (or navigate away), according to how you embedded it.

| Property | Type              | Description                             |
| :------- | :---------------- | :-------------------------------------- |
| `source` | `'CloseSolution'` | Literal discriminator for this payload. |

```javascript
{
  source: "CloseSolution",
}
```

### WidgetError

Emitted when the widget reports an error (for example JWT failure). You can use `error` / `details` for logging.

| Property  | Type     | Description        |
| :-------- | :------- | :----------------- |
| `error`   | `string` | Summary message.   |
| `details` | `string` | Additional detail. |

Example payload:

```javascript
{
  error: "401 Error when requesting https://sportradar.com/status",
  details: "Client token exception - Invalid token",
}
```

### AddSelectionsToBetSlip

Emitted when the user selects an outcome from AI-suggested markets (full integration with bet suggestion). Use the IDs to add the selection to your bet slip (or remove selection from bet slip - if selection is already in the bet slip).

> **Info**
>
> The `selections` payload includes a snapshot of the displayed odds. Treat it as indicative, re-validate availability, and fetch authoritative prices from your platform before placement. See [Handling Selections and Odds](https://docs.sportradar.com/resources/widgets/docs/tutorials/handling-selections-and-odds.md).

| Property     | Type                                                                                                       | Description                                                                                                              |
| :----------- | :--------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------- |
| `selections` | [SelectionOutcome](https://docs.sportradar.com/resources/widgets/docs/adapter/Types.md#selectionoutcome)[] | Outcome selection object                                                                                                 |
| `markets`    | [Market](https://docs.sportradar.com/resources/widgets/docs/adapter/Types.md#market)[]                     | Array of markets associated with the selections, used to display market names and specifiers in the bet slip.            |
| `events`     | [Event](https://docs.sportradar.com/resources/widgets/docs/adapter/Types.md#event)[]                       | Array of events associated with the selections, used to display event details (teams, tournament, etc.) in the bet slip. |

Example payload:

```javascript
{
  selections: [
    {
      type: "uf",
      event: "sr:match:123456",
      market: "1",
      outcome: "3",
      odds: {
        type: "eu",
        value: "2.50",
      },
    },
  ],
  markets: [
    {
      id: "1",
      name: "Match Winner (1X2)",
      outcomes: [
        { id: "1", name: "Home", status: "active", odds: { type: "decimal", value: "2.10" } },
        { id: "X", name: "Draw", status: "active", odds: { type: "decimal", value: "3.40" } },
        { id: "2", name: "Away", status: "active", odds: { type: "decimal", value: "3.50" } },
      ],
      status: "active",
    },
  ],
  events: [
    {
      id: "sr:match:123456",
      sport: { id: "1", name: "Soccer" },
      category: { id: "1", name: "France" },
      tournament: { id: "17", name: "League 1" },
      teams: [
        { id: "sr:competitor:1", name: "PSG" },
        { id: "sr:competitor:2", name: "FC Nantes" },
      ],
      isLive: false,
      date: {
        displayValue: "Jan 7, 2027",
        startTime: "2027-01-07T20:00:00Z",
      },
    },
  ],
}
```

### CustomBetAddToBetSlip

Emitted when 'Bet Combo' is enabled and the user adds a combo to the bet slip by clicking on 'Add to Betslip' button on the bet combo. Map `selectedOutcomes` into your bet slip.

`displayedOdds` is a snapshot only — re-validate and re-price before placement. See [Handling Selections and Odds](https://docs.sportradar.com/resources/widgets/docs/tutorials/handling-selections-and-odds.md).

| Property                           | Type                | Description                        |
| :--------------------------------- | :------------------ | :--------------------------------- |
| `entityId`                         | `string`            | Sportradar match URN.              |
| `displayedOdds`                    | `string`            | Combined odds for the combo.       |
| `selectedOutcomes`                 | `array`             | Selections in the combo.           |
| `selectedOutcomes.marketId`        | `string`            | Sportradar market ID.              |
| `selectedOutcomes.marketSpecifier` | `string` (optional) | Market specifier, when applicable. |
| `selectedOutcomes.marketName`      | `string`            | Market display name.               |
| `selectedOutcomes.outcomeId`       | `string`            | Sportradar outcome ID.             |
| `selectedOutcomes.outcomeName`     | `string`            | Outcome display name.              |

Example payload:

```javascript
{
  entityId: "sr:match:61623782",
  displayedOdds: "2.95",
  selectedOutcomes: [
    {
      marketId: "1",
      outcomeId: "1",
      marketName: "1x2",
      marketSpecifier: undefined,
      outcomeName: "Ceuta",
    },
    {
      marketId: "18",
      outcomeId: "12",
      marketName: "Total Goals",
      marketSpecifier: "total=0.5",
      outcomeName: "Over 0.5",
    },
  ],
}
```

### Example: handle all action types

```javascript
onAction: function (action) {
  const { type, data } = action;
  switch (type) {
    case "Close": {
      if (data.source === "CloseSolution") {
        // Hide or destroy the widget container (header close).
      }
      break;
    }
    case "Error": {
      // Surface data.error / data.details to the user or your logger.
      break;
    }
    case "AddSelectionsToBetSlip": {
      // Add data.selections to the bet slip.
      break;
    }
    case "CustomBetAddToBetSlip": {
      // Map data.selectedOutcomes to your bet slip (requires enableCustomBet).
      break;
    }
    default:
      // Optional: ignore or log unexpected types for forward compatibility.
      break;
  }
},
```

## getJwt()

Defines the structure of a callback promise function that retrieves a JWT token for user authentication. This function gets called when the Bet Concierge widget is initialized and when token refresh is needed.

```javascript
// Example implementation of getJwt function:
function getJwt() {
  return fetch("https://example.com/api/get-jwt/user123")
    .then((response) => response.json())
    .then((data) => data.token); // Must resolve to the JWT string - assuming backend returns { "token": "..." }
}
```

## Widget Integration

This guide provides step-by-step instructions for integrating the Sportradar Bet Concierge widget into your website. It includes details about the required components, such as an adapter developed by Sportradar's engineering team, and options for custom theming. Following these instructions will help ensure a seamless integration and an improved user experience.

## Prerequisites

Before starting, ensure you have:

> **Info**
>
> 1. **Entity ID**: The Sportradar Entity identifier for the event. Example: "sr:match:50955863".
> 2. **JWT Authentication**: A `getJwt` callback function to retrieve the user's JWT. See [tutorial](https://docs.sportradar.com/resources/widgets/docs/tutorials/jwt.md) on how to create and use JWT.
> 3. **Client ID**: Your Sportradar client id. Don't have Client ID? Please read [how to get one](https://docs.sportradar.com/resources/widgets/docs/tutorials/faq.md#client-id).

See [Getting Identifiers](https://docs.sportradar.com/resources/widgets/docs/tutorials/getting-identifiers.md) for information on obtaining match IDs and authentication tokens.

## Integration Examples

The Bet Concierge widget can be integrated into your website using JavaScript. There are three levels of integration, each offering different features and requiring varying levels of development effort:

**Basic integration**

This is the simplest option and requires minimal development effort. It includes an interactive AI chat widget that can answer all stats-related queries.

Properties do not always transfer from the above table directly into integration code. Properties must be transformed differently for each integration method:

#### JavaScript/Programmatic Integration

- Property names remain unchanged in camelCase
- Properties become members of the 4th parameter object in `SIR()` call
- Example: `cardVariant: "compact"`

> **Info**
>
> In javascript integration, the properties go into an object which is passed as the 4th argument of the call ti `SIR()` function. Please see  [Global SIR API](https://docs.sportradar.com/resources/widgets/docs/tutorials/SIR.md)

#### HTML/Declarative Integration

- Convert camelCase to lowercase with dashes, e.g. cardVariant becomes card-variant
- Add `data-sr-` prefix
- Example: `cardVariant` → `data-sr-card-variant`
- Example: `filters.sport.hidden` → Complex objects must be passed as JSON strings

> **Info**
>
> In HTML integration, the properties go into the parent HTML object as object properties, prefixed with `data-sr-` as explained above.

> **Only base property support**
>
> This method supports only simple (base) properties and does not support properties that require functions.

> **Info**
>
> In all examples replace `sportradar` in the widgetloader URL path with your clientId.
>
> Example if your clientId is `client1`:
>
> - This URL: `https://widgets.sir.sportradar.com/sportradar/widgetloader`
> - becomes: `https://widgets.sir.sportradar.com/client1/widgetloader`

### Step 1: Add Widgetloader

Add the widgetloader script to your HTML page:

```html
<script>
   (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
   g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
   )})(window,document,"script","https://widgets.sir.sportradar.com/sportradar/widgetloader","SIR", {
       language: 'en'
   });
    // Bet Concierge Widget
    SIR("addWidget", ".sr-bc-widget", "betConciergeNew", {
        entityId: { ENTITY_ID },
        jwt: "{JWT}",
    });
</script>
```

Replace `sportradar` in the widgetloader URL path with your `clientId`, `ENTITY_ID` with Sportradar entity identifier in `sr:match:{id}` format (e.g., `"sr:match:50955863"`), and `JWT` with your JSON Web Token.

The example above uses a static `jwt` string for brevity. In production, use a `getJwt` callback so the token can be refreshed without reloading the widget — see [Dynamic JWT Function](#dynamic-jwt-function) below.

#### Dynamic JWT Function

```javascript
async function getJwt() {
  const response = await fetch("/api/get-token");
  const data = await response.json();
  return data.jwt;
}

SIR("addWidget", ".sr-bc-widget", "betConciergeNew", {
  entityId: { ENTITY_ID },
  getJwt: getJwt,
});
```

### Step 2: Create a Widget Container

Add a container element where the widget will be displayed:

```html
<div class="bc-wrapper">
  <div class="sr-bc-widget"></div>
</div>
```

That's it! The Bet Concierge widget is now live on your page.

**Full Integration with Bet Suggestion**

This option is more advanced and requires additional development. It provides single-market bet suggestions to enhance user engagement, alongside basic chat.

To implement the Bet Suggestion feature, you need to add the [data adapter](https://docs.sportradar.com/resources/widgets/docs/bet-concierge/data-adapter.md) to basic integration. The adapter retrieves information from the client’s API and displays it within the widget, ensuring a seamless integration between the two systems. All markets must be mapped to the [Sportradar market IDs](https://docs.sportradar.com/resources/widgets/docs/bet-concierge/market-mapping.md).

**Example:**

```html
<script>
  (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
  g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
  )})(window,document,"script","https://widgets.sir.sportradar.com/sportradar/widgetloader","SIR", {
      language: 'en'
  });

  const MATCH_ID = "sr:match:50955863";

  const adapter = {
    endpoints: {
      availableMarketsForEvent: (args, callback) => {
        callback(undefined, {
          selection: [
            { type: "uf", event: MATCH_ID, market: "1" },
            {
              type: "uf",
              event: MATCH_ID,
              market: "18",
              specifiers: "total=2.5",
            },
          ],
        });
      },

      eventMarkets: (args, callback) => {
        callback(undefined, {
          event: args.selection.event,
          markets: [
            {
              id: "1",
              name: "1x2",
              status: "active",
              outcomes: [
                {
                  id: "1",
                  name: "Home",
                  status: "active",
                  odds: { type: "eu", value: "1.48" },
                },
                {
                  id: "2",
                  name: "Draw",
                  status: "active",
                  odds: { type: "eu", value: "4.82" },
                },
                {
                  id: "3",
                  name: "Away",
                  status: "active",
                  odds: { type: "eu", value: "2.47" },
                },
              ],
            },
            {
              id: "18",
              name: "Total goals",
              specifiers: "total=2.5",
              status: "active",
              outcomes: [
                {
                  id: "13",
                  name: "Under 2.5",
                  status: "active",
                  odds: { type: "eu", value: "2.25" },
                },
                {
                  id: "12",
                  name: "Over 2.5",
                  status: "active",
                  odds: { type: "eu", value: "1.80" },
                },
              ],
            },
          ],
        });
      },

      betSlipSelection: (args, callback) => {
        callback(undefined, {
          selection: [], // Replace with current bet slip selections
        });
      },
    },
  };

  SIR("registerAdapter", adapter);

  async function getJwt() {
    const response = await fetch("/api/get-token");
    const data = await response.json();
    return data.jwt;
  }

  SIR("addWidget", ".sr-bc-widget", "betConciergeNew", {
    entityId: { ENTITY_ID },
    getJwt: getJwt,
  });
</script>

<div class="bc-wrapper">
  <div class="sr-bc-widget"></div>
</div>
```

**Advanced Integration with Combo**

This is the most advanced option. It includes a custom bet feature, which is dependent on having the [UOF Proxy Custom Bet widget](https://docs.sportradar.com/resources/widgets/docs/custom-bet/overview.md) already integrated into your system. Using the [data adapter](https://docs.sportradar.com/resources/widgets/docs/bet-concierge/data-adapter.md), you will need to call the calculate endpoint from the Custom Bet API with a payload from the adapter. The calculation response will then be passed to the widget adapter, which will allow the widget to display the custom bet information.

**Example:**

```html
<script>
  (function (a, b, c, d, e, f, g, h, i) {
    a[e] ||
      ((i = a[e] =
        function () {
          (a[e].q = a[e].q || []).push(arguments);
        }),
      (i.l = 1 * new Date()),
      (i.o = f),
      (g = b.createElement(c)),
      (h = b.getElementsByTagName(c)[0]),
      (g.async = 1),
      (g.src = d),
      g.setAttribute("n", e),
      h.parentNode.insertBefore(g, h));
  })(
    window,
    document,
    "script",
    "https://widgets.sir.sportradar.com/sportradar/widgetloader",
    "SIR",
    {
      language: "en",
    },
  );

  const adapter = {
    endpoints: {
      // Adapter implementation goes here — see Full Integration tab
      availableMarketsForEvent: (args, callback) => {},
      eventMarkets: (args, callback) => {},
      betSlipSelection: (args, callback) => {},

      // Optional: enables custom bet combo suggestions
      calculateCustomBetXML: (args, callback) => {
        fetch("{url}/api/custombet/calculate-filter", {
          method: "POST",
          headers: {
            "Content-Type": "application/json",
          },
          body: args.calculatePayload,
        })
          .then((response) => response.text())
          .then((payload) => callback(undefined, { payload }))
          .catch((error) => callback(error));
      },
    },
  };

  SIR("registerAdapter", adapter);

  async function getJwt() {
    const response = await fetch("/api/get-token");
    const data = await response.json();
    return data.jwt;
  }

  SIR("addWidget", ".sr-bc-widget", "betConciergeNew", {
    entityId: { ENTITY_ID },
    getJwt: getJwt,
    enableCustomBet: true, // This needs to be added to enable custom bet feature.
  });
</script>

<div class="bc-wrapper">
  <div class="sr-bc-widget"></div>
</div>
```

**Button integration**

This is example of how to integrate the Bet Concierge widget with a button. The button can be used to open and the Bet Concierge widget.

**Example:**

```html
<script>
   (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
   g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
   )})(window,document,"script","https://widgets.sir.sportradar.com/sportradar/widgetloader","SIR", {
       language: 'en'
   });

  let isBetConciergeOpened = false;

  function toggleBetConcierge() {
    const container = document.getElementById("bet_concierge-widget");
    const openWidgetButton = document.getElementById("open-widget-button");
    isBetConciergeOpened = !isBetConciergeOpened;
    container.style.display = isBetConciergeOpened ? "block" : "none";
    openWidgetButton.style.display = isBetConciergeOpened ? "none" : "block";
  }

  function onAction({ type }) {
    console.log("action:", type);
    if (type === "Close") toggleBetConcierge();
    if (type === "Error")
      document.getElementById("open-widget-button").disabled = true;
  }

  document.addEventListener("DOMContentLoaded", () => {
    document.getElementById("bet_concierge-widget").style.display = "none";
  });

  const handleBetConciergeOpen = toggleBetConcierge;

  const sportradarEntityId = "sr:match:50955863";

  function getJwt() {
    return new Promise(function (resolve) {
      // Fetch user JWT token from the server
      const exampleJWT = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiO...";
      resolve(exampleJWT);
    });
  }

  // Bet Concierge Widget
  SIR("addWidget", ".sr-widget-bet_concierge", "betConciergeNew", {
    entityId: sportradarEntityId,
    getJwt: getJwt,
    onAction,
    enableCustomBet: true,
  });
</script>

<div class="bc-wrapper">
  <button id="open-widget-button" onclick="handleBetConciergeOpen()">
    Open AI Chat
  </button>
  <div class="sr-widget-bet_concierge"></div>
</div>
```

**Migration guide**

If you have already integrated the legacy **`betConcierge`** widget, follow this guide to upgrade to the new **`betConciergeNew`** widget. New integrations can skip this section and start from the [Widget Integration](#widget-integration) examples.

The upgrade is minimal and low-effort: it only requires renaming the widget in your `addWidget` call and trimming a few props that the new version no longer uses — your page setup, adapter registration, and container markup stay the same.

### What changes in your integration

| Area                                   | Old (`betConcierge`)             | New (`betConciergeNew`)              |
| -------------------------------------- | -------------------------------- | ------------------------------------ |
| Widget name in `SIR('addWidget', …)`   | `betConcierge`                   | **`betConciergeNew`**                |
| Entity prop                            | `entityId` (or legacy `matchId`) | **`entityId` only** (required)       |
| Chat history                           | Stored in browser                | **Server-side** conversation threads |
| Suggested questions / insights toggles | Client props                     | **Removed** — handled by the widget  |

Everything else in your page setup stays the same: widgetloader bootstrap, container element, `registerAdapter` call order (adapter **before** `addWidget`).

### 1. Change the widget name

```diff
- SIR('addWidget', '.sr-bc-widget', 'betConcierge', { … });
+ SIR('addWidget', '.sr-bc-widget', 'betConciergeNew', { … });
```

### 2. Update widget props

#### Remove these (no longer supported)

| Prop                         | Notes                                                                         |
| ---------------------------- | ----------------------------------------------------------------------------- |
| `matchId`                    | Legacy prop, no longer documented — use `entityId` (e.g. `sr:match:50955863`) |
| `numberOfSuggestedQuestions` | Suggested content is no longer client-configurable                            |
| `disableHomeLink`            | No home link in new Bet Concierge                                             |
| `disableCoverage`            | No coverage chart in new Bet Concierge                                        |
| `disableChatHistory`         | History is now server-managed                                                 |
| `enableInsights`             |                                                                               |
| `enableMarketQuestions`      |                                                                               |
| `hideLogo`                   |                                                                               |
| `disableHeader`              | Header is no longer client-configurable                                       |

#### Keep using these

| Prop              | Required | Default | Notes                                                          |
| ----------------- | -------- | ------- | -------------------------------------------------------------- |
| `entityId`        | **Yes**  | —       | Sportradar URN.                                                |
| `getJwt`          | **Yes**  | —       | Callback returning the user's JWT; preferred over static `jwt` |
| `enableCustomBet` | No       | `false` | Requires adapter `calculateCustomBetXML`                       |
| `isInline`        | No       | `false` | Inline embed (no close button)                                 |
| `hideBotIcon`     | No       | `false` | Hides the bot icon (welcome screen, loader, and similar).      |
| `onAction`        | No       | —       | See [onAction](#onaction-callback)                             |

### 3. Example — New Bet Concierge implementation

```html
<script>
   (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
   g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
   )})(window,document,"script","https://widgets.sir.sportradar.com/sportradar/widgetloader","SIR", {
       language: 'en'
   });

  async function getJwt() {
    const response = await fetch("/api/get-token");
    const data = await response.json();
    return data.jwt;
  }

  SIR("addWidget", ".sr-bc-widget", "betConciergeNew", {
    entityId: "sr:match:50955863",
    getJwt,
  });
</script>

<div class="bc-wrapper">
  <div class="sr-bc-widget"></div>
</div>
```

The new widget introduces a few new UI components. If you applied any custom theming to the legacy widget, review your overrides against the new components — see [Theming customization](https://docs.sportradar.com/resources/widgets/docs/bet-concierge/theming-customization.md).

### Migration checklist

- [ ] Change widget name to `betConciergeNew`
- [ ] Remove deprecated / dropped props (see table above)
- [ ] Ensure `entityId` is always set (no `matchId`)

## Next Steps

Now that you have integration working, check [Theming customization](https://docs.sportradar.com/resources/widgets/docs/bet-concierge/theming-customization.md) for custom styling.
