Skip to main content

Deploying dab AI Analyst

Hint

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:

Note

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.

FieldWhat to enter
SubscriptionThe Azure subscription that AI Analyst is deployed into
Resource GroupA new or existing resource group for the managed application
RegionThe Azure region for the virtual network, Key Vault, and App Service
Application NameA name for the managed application
Managed Resource GroupThe resource group that holds the resources of the managed application
Hint

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.

SKUCoresRAMRecommended for
P1v328 GBRecommended default
P1mv3216 GBMemory-intensive workloads
P1v428 GBCurrent generation, comparable to P1v3
P2v4416 GBHigh number of parallel users
P3v4832 GBEnterprise scale

We recommend starting with P1v3 and scaling up only if performance requires it.

2.2 Secrets​

Both secrets are values that you create.

FieldWhy it is needed
AIA API KeySecures 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 SecretSigns 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.

Hint

Use a password manager to create and store your secrets.

Important

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.

FieldWhat to enter
Add IP Addresses to AllowlistYes 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.

Note

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.

FieldWhat to enter
Database Connection StringThe connection string for the database that holds the analytic run results
SQL Base Table SchemaThe 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 Analyst and 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/Password and with Authentication=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.
Warning

Since Generative AI is used, ensure that the user that allows the dab AI Analyst to interact with your data has read-only access.

Important

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:

OptionWhen to use it
Deploy a new Azure AI FoundryThe deployment creates an Azure AI Foundry resource and a model deployment in your subscription. This is the simplest option.
Use an existing Azure AI FoundryYou already run an Azure AI Foundry resource with a suitable model deployment and want AI Analyst to use it.
OpenAI-compatible providerYou 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_format of type json_schema with strict: 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.

warning

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​

FieldWhat to enter
Cognitive Services RegionThe region the model is deployed in. It must have quota available for the selected model. Choose a region close to your deployment region.
ModelThe 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.

Important

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.

FieldWhat to enter
Foundry Endpoint URLThe endpoint of your resource, e.g. https://<resource-name>.cognitiveservices.azure.com/.
Foundry API KeyOne of the two API keys of the resource.
Model Deployment NameThe 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 VersionThe 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.

Network access

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.

Key rotation

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.

FieldWhat to enter
API Base URLThe base URL of the API, e.g. https://api.openai.com/v1.
API KeyThe API key for the provider.
Model NameThe 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.

Use at your own risk

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.

Key rotation

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.

FieldWhat to enter
Knowledge Hub API KeyThe license key you received from dab
Private Link Request MessageA 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.

Warning

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.

Hint

Continue with After the Deployment to verify the result and to request the private link approval.