Deploying dab AI Analyst
Review the System Requirements first. Most deployment problems are caused by a prerequisite that was not prepared.
Before You Start
dab AI Analyst is deployed from the Azure Marketplace as an Azure Managed Application. The deployment has six configuration tabs and a final Review + create step, which you complete in order. Confirm the following before you begin:
-
dab Nexusis already in use - The
AI Analyst Licensekey provided bydabas part of the AI Analyst License is available, see https://knowledge.dab-europe.com/portal/license-management - The target Azure subscription is selected
- The required resource providers are registered
- The deploying user has
Owner, orContributorplusUser Access Administratorrole(s) - App Service compute quota are available in the target regions
- The database connection string to the database storing your Nexus analytic run results
- If you choose to deploy a new Azure Foundry (Option A) ensure that quota is available in the target regions.
The database connection string should reference the database used by the dab AnalyticSuite run, not the dab Nexus application database.
Open the Marketplace Offer
dab AI Analyst is published as a public offer within the Azure Marketplace and has to be selected.
1. Basics
This tab defines where the application and its resources are created.
| Field | What to enter |
|---|---|
| Subscription | The Azure subscription that AI Analyst is deployed into |
| Resource Group | A new or existing resource group for the managed application |
| Region | The Azure region for the virtual network, Key Vault, and App Service |
| Application Name | A name for the managed application |
| Managed Resource Group | The resource group that holds the resources of the managed application |
Select a region close to your database. The region chosen here does not determine where the AI model is deployed. You select that separately in step 5.
2. Application Settings
This tab defines general deployment settings.
2.1 App Service Plan Size
Select the plan size for the App Service that runs AI Analyst. This is the AI Analyst backend: it runs the agents that are built on the deployed Azure AI Foundry model. You can scale the plan up or down later without redeploying.
| SKU | Cores | RAM | Recommended for |
|---|---|---|---|
| P1v3 | 2 | 8 GB | Recommended default |
| P1mv3 | 2 | 16 GB | Memory-intensive workloads |
| P1v4 | 2 | 8 GB | Current generation, comparable to P1v3 |
| P2v4 | 4 | 16 GB | High number of parallel users |
| P3v4 | 8 | 32 GB | Enterprise scale |
We recommend starting with P1v3 and scaling up only if performance requires it.
2.2 Secrets
Both secrets are values that you create.
| Field | Why it is needed |
|---|---|
| AIA API Key | Secures the communication between the AI Analyst Visual in the PowerBi Dashboard and the AI Analyst backend. Every client that calls the API needs this key. |
| Session Token Secret | Signs the user sessions so that the application can verify that a user is logged in. Users never see this value. |
Each value should be at least 32 characters long and needs to be stored as they are required post deployment.
Use a password manager to create and store your secrets.
Use only the characters A-Z, a-z, and 0-9. Characters such as ;, ", &, %, or spaces can cause parsing problems in HTTP headers and in the downstream configuration.
3. Networking Security
By default, AI Analyst and its supporting services are only reachable through their own virtual network. This tab defines whether users can also reach the application from outside that network, for example from your corporate office.
| Field | What to enter |
|---|---|
| Add IP Addresses to Allowlist | Yes if users access AI Analyst from outside the virtual network, otherwise No |
| Allowed IP Ranges (CIDR) | The permitted IP ranges in CIDR notation, separated by commas, for example 203.0.113.0/27, 198.51.100.42/32 |
Add the IP range of your office so that you can open the AI Analyst interface and read the Key Vault secrets in the Azure Portal. You can change the allowlist later in the Azure Portal under App Service -> Networking -> Access restrictions.
If you select No, the API is not reachable from outside the virtual network and you need to set up a custom connection to the virtual network, such as network peering.
4. Database Connection
This tab defines the database that AI Analyst queries. The value is stored in Key Vault after the deployment and is never written to logs or application settings.
| Field | What to enter |
|---|---|
| Database Connection String | The connection string for the database that holds the analytic run results |
| SQL Base Table Schema | The schema that dab Nexus exports the tables required by AI Analyst into, by default Results |
The following connection string formats are supported:
- ADO.NET format, recommended:
Server=tcp:myserver.database.windows.net,1433;Database=mydb;User ID=myuser;Password=mypassword;Encrypt=yes;TrustServerCertificate=no;
- ODBC format, alternatively:
Driver={ODBC Driver 18 for SQL Server};Server=tcp:myserver.database.windows.net,1433;Database=mydb;Uid=myuser;Pwd=mypassword;Encrypt=yes;TrustServerCertificate=yes;
Supported Authentication Methods:
- SQL user and password (recommended) — create a dedicated, read-only SQL user for
dab AI Analystand put its credentials in the connection string as shown above. This works out of the box and needs no further setup. - Managed identity (optional) — the App Service can instead authenticate with the managed identity of the Managed Application it is deployed with. Use a connection string without
User ID/Passwordand withAuthentication=Active Directory Managed Identity. This requires additional setup on your side after deployment: you have to create a contained database user for the managed identity and grant it read access. Choose this only if your organisation's policy requires it.
Since Generative AI is used, ensure that the user that allows the dab AI Analyst to interact with your data has read-only access.
The Database must be reachable by the Azure App Service for the dab AI Analyst to work. If your database is not publicly available you have to manually configure reachability post-deployment.
An unreachable database does not stop the deployment itself. The application starts, logs Database warm-up failed, and stays unusable until the network path is corrected. Confirm the path with the team that administers the database before deployment day.
5. AI Model Configuration
This tab defines the language model that AI Analyst reasons with. You can choose from three options:
| Option | When to use it |
|---|---|
| Deploy a new Azure AI Foundry | The deployment creates an Azure AI Foundry resource and a model deployment in your subscription. This is the simplest option. |
| Use an existing Azure AI Foundry | You already run an Azure AI Foundry resource with a suitable model deployment and want AI Analyst to use it. |
| OpenAI-compatible provider | You want to use OpenAI directly, another provider, or models you host yourself, such as local models served through vLLM, Ollama or LiteLLM. Any endpoint that supports the OpenAI Chat Completions API works. |
First choose the LLM Provider (Azure AI Foundry or OpenAI-compatible provider). If you choose Azure AI Foundry, then choose whether to deploy a new resource or use an existing one.
All users of this AI Analyst deployment use the same model configuration. Choose the model and capacity with your expected user count in mind.
Model requirements
Whichever option you choose, the model must support all of the following:
- the OpenAI Chat Completions API
- support for multiple system messages within one conversation context
- function / tool calling
- structured outputs (
response_formatof typejson_schemawithstrict: true) - a context window of at least 128k tokens
We recommend Option A: Deploy a new Azure AI Foundry with the model gpt-5.6-luna. It is the setup we test against, and it combines strong reasoning with low cost. gpt-5.6-terra is slightly better but costs noticeably more.
If a model is missing one of these capabilities, the deployment still succeeds, but AI Analyst fails when it answers its first question. Check structured-output support in particular when you use an OpenAI-compatible provider.
Option A: Deploy a new Azure AI Foundry
| Field | What to enter |
|---|---|
| Cognitive Services Region | The region the model is deployed in. It must have quota available for the selected model. Choose a region close to your deployment region. |
| Model | The model that AI Analyst uses. The dropdown only offers chat models that are available in the selected region with the Global Standard deployment type. |
| Capacity (Quota Units) | The throughput reserved for AI Analyst. One unit equals 10,000 tokens per minute. We recommend 120 units (1.2 million tokens per minute) for every 10 users. |
To check how much quota is available, run az cognitiveservices usage list --location <REGION> --output table. Alternatively, open your subscription in the Azure Portal, go to Usage + quotas and filter by Microsoft.CognitiveServices.
Capacity is shared across all deployments of the same model family in the same subscription and region. If you request more capacity than is available, the deployment fails. Start with a low value and increase it later in the Azure Portal.
Option B: Use an existing Azure AI Foundry
No Foundry resource or model deployment is created. You can find the endpoint and keys under Keys and Endpoint on your Foundry resource in the Azure Portal.
| Field | What to enter |
|---|---|
| Foundry Endpoint URL | The endpoint of your resource, e.g. https://<resource-name>.cognitiveservices.azure.com/. |
| Foundry API Key | One of the two API keys of the resource. |
| Model Deployment Name | The name of the chat model deployment, as shown under Deployments in your Foundry resource. This is the deployment's name, not necessarily the model's name. |
| API Version | The Azure OpenAI API version. Keep the default 2024-12-01-preview unless you have a reason to change it. It must be 2024-08-01-preview or newer. |
You remain responsible for the model's throughput, content filter, version and retirement date.
AI Analyst reaches your Foundry resource over its public endpoint from the AI Analyst's virtual network. If your Foundry resource restricts public network access, add the AI Analyst App Service subnet as a virtual network rule on the resource. This works across subscriptions within the same tenant. If you don't, the deployment succeeds, but AI Analyst can't reach the model.
The API key is stored in AI Analyst's Key Vault at deployment time. If you rotate or regenerate the key on your Foundry resource, run an update of the managed application with the new key.
Option C: OpenAI-compatible provider
No Azure resource is created for the model.
| Field | What to enter |
|---|---|
| API Base URL | The base URL of the API, e.g. https://api.openai.com/v1. |
| API Key | The API key for the provider. |
| Model Name | The model identifier the provider expects in the model field of requests, e.g. gpt-5.6-luna. |
The endpoint must be reachable from the AI Analyst's virtual network. Private endpoints are not set up for this option. Rate limits are set by your provider.
We cannot test AI Analyst against every provider, gateway and model, so we don't support this option the way we support Option A. Answer quality, speed and reliability depend entirely on the model you choose. Even when a model meets the model requirements, it may produce worse results or fail on some questions.
Gateways such as LiteLLM, vLLM, Ollama or OpenRouter often support strict structured outputs for only some models. Test your chosen model thoroughly before you use it in production. If you run into problems, try Option A with gpt-5.6-luna first to find out whether the model is the cause.
The API key is stored in AI Analyst's Key Vault at deployment time. If you rotate or regenerate the key on your provider, run an update of the managed application with the new key.
6. License and Knowledge Hub
AI Analyst enriches its answers with the SAP and analytics expertise of the dab Knowledge Hub. This tab connects your deployment to that service over a private link, so that the traffic never traverses the public internet.
| Field | What to enter |
|---|---|
| Knowledge Hub API Key | The license key you received from dab |
| Private Link Request Message | A message that identifies your request (company and responsible person), for example Contoso AG (m.mustermann(at)cag.com) - productive AI Analyst deployment |
The private link connection is created in the state Pending and has to be approved by dab. Until approval, AI Analyst can process questions but cannot use the Knowledge Hub's background knowledge to enrich its answers.
A Private Link Request Message that does not contain either the company name or the responsible person will be rejected.
Review and Create
Azure validates all parameters and shows a summary. Check that all secrets are filled in, that the regions and the model are correct, and that the connection string is complete. Then click Create. The deployment takes about three to five minutes.
Continue with After the Deployment to verify the result and to request the private link approval.