Deploy XRAI into your Azure cloud

Buy XRAI Hub from the Azure Marketplace, run one command to set up sign-in, and send your people a link that connects their XRAI apps.

Updated 7 November 2026

XRAI Hub runs XRAI's captioning and translation in your organisation's own Azure subscription. Your people sign in to the XRAI apps with their work accounts, and their audio, captions and logs stay in your subscription. Usage is billed on your Azure invoice. See How XRAI handles your data.

XRAI Hub in your Azure subscription, with Azure AI Speech, Azure AI Translator, Azure OpenAI, Log Analytics and Microsoft Entra ID

Choose a plan

PlanWhat it does
Enterprise HubDeploys everything into your subscription as a managed application: Azure AI Speech, Azure AI Translator, Azure OpenAI if you choose it, a Log Analytics workspace, and the XRAI Hub that the XRAI apps connect to.
Connect your own HubFor organisations that deploy the Hub themselves from XRAI's template: see Deploy the Hub yourself. It deploys nothing, and bills the Hubs you deploy. Each subscription has a 14-day trial from its first Hub.

Neither plan has a monthly fee. Usage is measured and billed on your Azure invoice: hours of audio captioned, characters translated, AI translation tokens, stream hours and text-to-speech characters. The listing shows the price of each.

What you need

  • An Azure subscription in which you can buy from the Azure Marketplace.
  • Someone who administers your Microsoft Entra ID, to run the setup command.
  • The latest XRAI app on each phone, tablet and computer.

1. Buy XRAI Hub

  1. Open XRAI on Microsoft Marketplace and select Get it now. Or, in the Azure portal, open Marketplace and search for XRAI.
  2. Choose the Enterprise Hub plan and select Create.
  3. Choose the subscription, resource group and region. Choose whether to include Azure OpenAI, and its capacity.
  4. Choose how ready the Hub is. Always warm answers straight away. On demand costs less, and takes a few seconds to start after a quiet period.
  5. On Networking, choose who can reach the Hub: Public, the default, or Private. Keep the address range unless it overlaps a network you'll connect to the Hub. See Who can reach the Hub.
  6. Select Review + create, check the details and terms, and select Create.

When the deployment finishes, open the managed application. Its Overview page shows the next steps.

2. Set up sign-in

  1. Someone who administers your Microsoft Entra ID opens Cloud Shell from the portal's top bar and chooses PowerShell.
  2. They copy the command from the managed application's Overview page, paste it into Cloud Shell and press Enter. The command is also under Parameters and Outputs, as setupCommand:
    iwr https://r2.xrai.cloud/tools/azure-setup.ps1 -OutFile xrai.ps1; ./xrai.ps1
The XRAI setup starting in Cloud Shell

In about a minute, the setup adds these to your Microsoft Entra ID and adds the person who ran it to both groups:

  • the XRAI Login app registration, which your people sign in through
  • the XRAI Users group, for the people who use XRAI
  • the XRAI Hub Admins group, for the people who manage the Hub

When it finishes, it shows the link for your people, and links to add people to each group.

The XRAI Login app registration, with the XRAI Users and XRAI Hub Admins security groups
  1. Add the people who will use XRAI to XRAI Users, and the people who manage the Hub to XRAI Hub Admins. Use the links the setup showed, or Groups in Microsoft Entra ID. You can add people at any time.
  2. Send your people the link, for example by email.

What your people do

They open the link on the phone, tablet or computer where XRAI is installed. A Set up XRAI page opens.

  • Phone or tablet: tap Open in XRAI.
  • Computer: open XRAI first, then click Set up XRAI on this computer. To set up a phone instead, scan the QR code with it.
Set up XRAI on a phone, with Open in XRAI
Set up XRAI on a computer, with Set up XRAI on this computer and a QR code for a phone

XRAI asks Connect XRAI to your organisation?. When they confirm, XRAI signs them out and asks them to sign in with their work account.

Microsoft Teams meetings

With XRAI for Teams, people in your organisation's meetings watch the captions through your own XRAI Hub. The person captioning uses the XRAI app signed in to your organisation as usual. There's nothing extra to set up.

Managing your XRAI Hub

The Hub runs in the managed application's managed resource group, which its Overview page links to. The names of the resources there end in the same six letters and numbers, for example xrai-hub-a1b2c3.

The Hub console

The Hub console is at the address under hubConsoleUrl in the managed application's Parameters and Outputs. Members of XRAI Hub Admins sign in there with their work accounts. It shows the Hub's release and its logs. Its settings are read-only, because the Hub's settings are managed in Azure.

Restart the Hub

Restarting moves the Hub onto the latest XRAI Hub release. The Hub keeps answering until the new copy is running, and anyone connected reconnects within a few seconds.

  • In the Hub console: under Hub Settings, select Restart.
  • In the Azure portal: in the managed resource group, open the container app xrai-hub-… and select Revisions and replicas. Select the active revision, then Restart, and confirm.

The Hub can't be stopped in the portal. Only Restart is allowed.

Who can reach the Hub

Each Hub has its own virtual network, xrai-vnet-…, which costs nothing in itself. You choose who can reach the Hub when you buy it, and can change it later.

  • Public: any device on the internet can reach the Hub's address, and people sign in with your organisation's Microsoft Entra ID to use it.
  • Private: only devices on the Hub's virtual network, or on networks connected to it, can reach the Hub, through a private endpoint. The XRAI apps and the Hub console need that network too, for example through your VPN. The private endpoint and its private DNS zone add charges to your Azure bill.

To change it, follow the steps below in order. Azure refuses the changes in any other order.

Make the Hub private

  1. In the managed resource group, open the Container Apps environment xrai-hubenv-… and select Networking.
  2. Under Public Network Access, select Disable, then Apply. Wait for it to finish.
  3. Under Private Endpoints, which now appears, select 0 Private Endpoints, then Express.
  4. Enter a name, such as xrai-hubpe- with the same ending as the other resources. Choose your subscription, the virtual network xrai-vnet-… and the subnet private-endpoints.
  5. Leave Integrate with private DNS zone set to Yes, and select OK. Azure adds the private DNS zone privatelink.region.azurecontainerapps.io to the managed resource group.

From then on, phones, tablets, computers and the Hub console reach the Hub only from its virtual network or a network connected to it.

Make the Hub public

  1. In the managed resource group, select the private endpoint (xrai-hubpe-…, or the name you gave it), then Delete, and confirm.
  2. Open the environment xrai-hubenv-… and select Networking. Under Public Network Access, select Enable, then Apply. Allow a few minutes after it finishes before the Hub answers from the internet again.
  3. Optionally, to stop the private DNS zone's charge, open the zone privatelink.region.azurecontainerapps.io in the managed resource group. Delete its virtual network link, wait until the link has gone, then delete the zone.

Connect your network to a private Hub

To reach a private Hub from your own virtual network, either:

  • peer your virtual network with xrai-vnet-… in both directions, and link the Hub's private DNS zone to your virtual network, so the Hub's usual address leads to its private one; or
  • create a private endpoint to the environment xrai-hubenv-… in your own virtual network, integrated with a private DNS zone.

Devices then reach the Hub through your network, for example through your VPN. If they use DNS servers outside Azure, forward azurecontainerapps.io from those servers to a DNS resolver in Azure that can see the private DNS zone, such as Azure DNS Private Resolver.

The address range is set when you buy the Hub. Choose one that doesn't overlap the networks you'll connect.

A Hub bought before this option has no virtual network of its own, and stays public.

Usage and logs

  • Usage: in the managed application, Monitoring → Usage charts the audio captioned, the characters translated and the AI translation tokens.
  • Logs: both are in the Log Analytics workspace in the managed resource group. The XRAI apps' logs are in the XRAILogs_CL table, and the Hub's own in ContainerAppConsoleLogs_CL.

To read the last hour of the apps' logs, open the workspace, select Logs and run:

XRAILogs_CL
| where TimeGenerated > ago(1h)
| project TimeGenerated, DeviceId, Category, Message
| order by TimeGenerated desc

Deploy the Hub yourself

To run the Hub in a resource group you choose, outside a managed application, deploy it from XRAI's template with Deploy to Azure. Then buy the Connect your own Hub plan in the same subscription.

For help, email support@xrai.glass.

Still need help?

Our support team answers by email.

Tell us your phone, your glasses if you use them, and what happened. To send your app's diagnostics with it, tap your picture in the XRAI app, then Settings → Vitals → Send report to support.

Email supportsupport@xrai.glass